Move a window
Steven J Abner
pheonix.sja at att.net
Fri May 30 21:11:17 UTC 2025
Please, I'm begging for help! After over a month of finding a kernel
bug, building Xorg/mesa from scratch, rewriting code, to eliminate this
bug or secret, I've created a program to demonstrate.
I need the secret handshake or password to get any window manager,
except the great! twm to run this.
To build:
gcc -ansi -pedantic -Wall -g -o xmove xmove.c -lxcb
To run for bare xorg:
with no-wm either in xinitrc:
cd <where built>
./xmove
or with xterm:
exec $xterm -geometry 120X62+850+0 -name login
and from xterm:
cd <where built>
./xmove
with twm:
$twm &
exec $xterm -geometry 120X62+850+0 -name login
and from xterm:
cd <where built>
./xmove
from any OS with (arrrg) window manager: use console, not xinitrc
Don't say _NET_WM_MOVERESIZE because it doesn't work on every window
manager.
And on the 3 tested this 'grab' won't work. It has confines placed on
it from moving past edges or 'STRUT's where cursor gets separated from
drag point (mouse location).
PS freedesktop link from EWMH doesn't work, not that the managers
follow, and I don't expect a reply from stack exchange.
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmove.c
Type: text/x-csrc
Size: 11743 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg/attachments/20250530/f7a02ff9/attachment.c>
More information about the xorg
mailing list