Changeset 1109 for trunk/xdotool

Show
Ignore:
Timestamp:
07/20/08 22:24:45 (6 months ago)
Author:
dkg
Message:

xdotool: upgrading to 20080720 from upstream.

Location:
trunk/xdotool
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/xdotool/CHANGELIST

    r1105 r1109  
     120080720: 
     2  * Add 'getmouselocation' which ouputs the coordinate of the mouse cursor and 
     3    the screen number the mouse is on. 
     4  * Add 'getactivewindow' which uses NETWM to query the active window; this is 
     5    often more reliable than 'getwindowfocus' assuming your window manager 
     6    supports it 
     7  * Fix typos in the documentationn. 
     8 
    1920080716: 
    210  * Fix return codes in xdo_keysequence() and other functions 
  • trunk/xdotool/debian/changelog

    r1105 r1109  
     1xdotool (20080720-1) unstable; urgency=low 
     2 
     3  * New upstream release 
     4 
     5 -- Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>  Sun, 20 Jul 2008 22:18:56 -0400 
     6 
    17xdotool (20080716-1) unstable; urgency=low 
    28 
  • trunk/xdotool/xdotool.c

    r1105 r1109  
    33 * command line interface to the xdo library 
    44 * 
    5  * $Id: xdotool.c 1947 2008-06-16 03:41:25Z jordansissel $ 
     5 * $Id: xdotool.c 1956 2008-07-20 20:40:17Z jordansissel $ 
    66 * 
    77 * getwindowfocus contributed by Lee Pumphret 
     
    2929int cmd_mousemove_relative(int argc, char **args); 
    3030int cmd_mouseup(int argc, char **args); 
    31 int cmd_mouselocation(int argc, char **args); 
     31int cmd_getmouselocation(int argc, char **args); 
    3232int cmd_search(int argc, char **args); 
    3333int cmd_type(int argc, char **args); 
     
    7373  { "mousemove_relative", cmd_mousemove_relative, }, 
    7474  { "mouseup", cmd_mouseup, }, 
    75   { "mouselocation", cmd_mouselocation, }, 
     75  { "getmouselocation", cmd_getmouselocation, }, 
    7676  { "type", cmd_type, }, 
    7777  { "windowactivate", cmd_windowactivate, }, 
     
    231231} 
    232232 
    233 int cmd_mouselocation(int argc, char **args) { 
     233int cmd_getmouselocation(int argc, char **args) { 
    234234  int x, y, screen_num; 
    235235  int ret; 
  • trunk/xdotool/xdotool.pod

    r1079 r1109  
    7171 
    7272Send mousedown followed by mouseup for the given button 
     73 
     74=item B<getmouselocation> 
     75 
     76Outputs the x, y, and screen location of the mouse cursor. Screen numbers will be nonzero if you have multiple monitors and are not using Xinerama. 
    7377 
    7478=back 
     
    156160command before using windowfocus, as it will work on more window managers. 
    157161 
     162=item B<getactivewindow> 
     163 
     164Output the current active window. This command is often more reliable than 
     165getwindowfocus. 
     166 
    158167=item B<set_num_desktops> I<number> 
    159168 
     
    202211these commands: C<set_desktop_for_window>, C<get_desktop_for_window>. 
    203212 
    204 =item _NET_ACTIVATE_WINDOW 
    205  
    206 Activate a window by asking the window manager to bring it forward. Support for 
    207 this enables these commands: C<windowactivate>. 
     213=item _NET_ACTIVE_WINDOW 
     214 
     215Allows you to query and set the active window by asking the window manager to 
     216bring it forward. Support for this enables these commands: C<windowactivate>, C<getactivewindow>. 
    208217 
    209218=back