Move a window
Steven J Abner
pheonix.sja at att.net
Sat May 31 18:49:23 UTC 2025
On Sat, May 31 2025 at 05:14:33 PM +0000, Carsten Haitzler
<raster at rasterman.com> wrote:
> well you never said what you WANTED to achieve
In my original post:
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).
So I trying to move a window within the confines of the display or
displays, not 10, 20 or xx number of pixels from the edge. To get
window manager to understand the values passed to them or use them. To
get the window to follow the pointer. Problem is creating an
application and not knowing all tool kits and languages to move a
window. It's kinda like using Alt+button, Super+button, or
other-combos+button on different flavors to move a window other than
the titlebar. I was forced to use this because one said it supported
_NET_WM_MOVERESIZE but clearly didn't. Which lead to starting with the
basics, Xorg bare, and twm.
Issue a XMoveWindow() or xcb_configure_window() and find out as I
luckily did, that your application had its window stop 10 pixels from
edge with pointer 200 pixels from grab location, yet works 100% of the
time on the 3 distributions tested and designed on.
Is there a property I'm not defining to get window managers to
understand what Xorg clearly does? XMoveWindow() or
xcb_configure_window() is clearly defined! You move the window.
And even though they use these, how do I tell them to use these? What
am I missing?
Sorry if original post sounded as complaint or wasn't as succinct as I
thought.
Steve
More information about the xorg
mailing list