ssanthosh243 / semicomplete

Automatically exported from code.google.com/p/semicomplete
0 stars 0 forks source link

Window is not moved to location specified in windowmove #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. "xdotool getactivewindow windowmove x y" or
   "xdotool getactivewindow windowmove x 0" or
   "xdotool getactivewindow windowmove 0 y" or even
   "xdotool getactivewindow windowmove 0 0"

One expects the window to be moved to the location specified, but it 
actually moves the window to the location x+12 and y+52.

Try repeatedly running "xdotool getactivewindow windowmove x y" and notice the 
window moving.

This happens in Debian Squeeze with Xfce 4.6.2 with xdotool version 2.20110530.1

Original issue reported on code.google.com by rob...@gmail.com on 10 Jul 2011 at 12:12

GoogleCodeExporter commented 9 years ago
This also happens with Ubuntu Natty and Xfce 4.8.

Original comment by rob...@gmail.com on 10 Jul 2011 at 1:10

GoogleCodeExporter commented 9 years ago
This also happens with Ubuntu Natty and Gnome. 

Original comment by rob...@gmail.com on 10 Jul 2011 at 1:14

GoogleCodeExporter commented 9 years ago
Adding relevant details -

This is due to the window move request not being honored properly by the window 
manager. The work around requires xdotool be aware of the window 
border/titlebar sizes. In some cases this is exposed with the 
_NET_FRAME_EXTENTS information, but not all cases. I'll only support the 
_NET_FRAME_EXTENTS for now.

EWHM says: 
http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2552416

Original comment by j...@semicomplete.com on 10 Jul 2011 at 8:12