ssanthosh243 / semicomplete

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

xdotool erroneously factors menu bar height into relative moves if menu bar not attached #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Use something like Unity that has a menu bar on the screen that isn't 
attached to the window. I was using KWin/Plasma. Either way, your app windows 
menu bars are up on a panel (KDE term) and not attached to the app window.

2. Do a movewindow --relative 100 0 
(By the way, it was hard to figure out that negative numbers needed -- -100 0)

3. Note that each time you execute the window will jump down a little. About 22 
pixels on my system (a -22 offset fixes it). I am 99% sure this is the height 
of the now missing menu bar.

4. Same behavior if you say 100 y (which actually is bad semantics since that 
probably should be the useless +y... so agree treating x and y as 0 in 
--relative mode is the way to go but it is sort of strange).

Original issue reported on code.google.com by al.willi...@awce.com on 12 Oct 2012 at 4:32