Changeset 1109 for trunk/xdotool
- Timestamp:
- 07/20/08 22:24:45 (6 months ago)
- Location:
- trunk/xdotool
- Files:
-
- 4 modified
-
CHANGELIST (modified) (1 diff)
-
debian/changelog (modified) (1 diff)
-
xdotool.c (modified) (4 diffs)
-
xdotool.pod (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xdotool/CHANGELIST
r1105 r1109 1 20080720: 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 1 9 20080716: 2 10 * Fix return codes in xdo_keysequence() and other functions -
trunk/xdotool/debian/changelog
r1105 r1109 1 xdotool (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 1 7 xdotool (20080716-1) unstable; urgency=low 2 8 -
trunk/xdotool/xdotool.c
r1105 r1109 3 3 * command line interface to the xdo library 4 4 * 5 * $Id: xdotool.c 19 47 2008-06-16 03:41:25Z jordansissel $5 * $Id: xdotool.c 1956 2008-07-20 20:40:17Z jordansissel $ 6 6 * 7 7 * getwindowfocus contributed by Lee Pumphret … … 29 29 int cmd_mousemove_relative(int argc, char **args); 30 30 int cmd_mouseup(int argc, char **args); 31 int cmd_ mouselocation(int argc, char **args);31 int cmd_getmouselocation(int argc, char **args); 32 32 int cmd_search(int argc, char **args); 33 33 int cmd_type(int argc, char **args); … … 73 73 { "mousemove_relative", cmd_mousemove_relative, }, 74 74 { "mouseup", cmd_mouseup, }, 75 { " mouselocation", cmd_mouselocation, },75 { "getmouselocation", cmd_getmouselocation, }, 76 76 { "type", cmd_type, }, 77 77 { "windowactivate", cmd_windowactivate, }, … … 231 231 } 232 232 233 int cmd_ mouselocation(int argc, char **args) {233 int cmd_getmouselocation(int argc, char **args) { 234 234 int x, y, screen_num; 235 235 int ret; -
trunk/xdotool/xdotool.pod
r1079 r1109 71 71 72 72 Send mousedown followed by mouseup for the given button 73 74 =item B<getmouselocation> 75 76 Outputs 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. 73 77 74 78 =back … … 156 160 command before using windowfocus, as it will work on more window managers. 157 161 162 =item B<getactivewindow> 163 164 Output the current active window. This command is often more reliable than 165 getwindowfocus. 166 158 167 =item B<set_num_desktops> I<number> 159 168 … … 202 211 these commands: C<set_desktop_for_window>, C<get_desktop_for_window>. 203 212 204 =item _NET_ACTIV ATE_WINDOW205 206 A ctivate a window by asking the window manager to bring it forward. Support for207 this enables these commands: C<windowactivate>.213 =item _NET_ACTIVE_WINDOW 214 215 Allows you to query and set the active window by asking the window manager to 216 bring it forward. Support for this enables these commands: C<windowactivate>, C<getactivewindow>. 208 217 209 218 =back

