Changes

Jump to navigation Jump to search
13 bytes removed ,  08:38, 28 March 2009
no edit summary
Line 112: Line 112:  
This can be done via simple calls to the X11 Server. Here is a snippet of how that can be done.
 
This can be done via simple calls to the X11 Server. Here is a snippet of how that can be done.
   −
  <source lang=cpp>
+
  <code>
 
  // Get the currently focused window.
 
  // Get the currently focused window.
 
  XGetInputFocus(...);  
 
  XGetInputFocus(...);  
Line 125: Line 125:  
  event = createKeyEvent(...);
 
  event = createKeyEvent(...);
 
  XSendEvent(...);
 
  XSendEvent(...);
  </source>
+
  </code>
    
                        
 
                        
52

edits

Navigation menu