Erez D wrote:
hi

i have an Xlib app.


i created a window. the window manager has reparented to add a frame and titlebar to it.

when i move the window to pos(x,y) using XMoveWindow(), it moves but positions the WM's window (e.g. the titlebar topleft) at (x,y) instead of my window.

i tryied using _NET_MOVERESIZE_WINDOW instead. but can't seem to make it work, it may be not supported under the window manager.

any idea ?
A window manager is not just another X application. It gets early notifications + veto power over many window operations that take place. Yes, window movement is one of them.

If you think about it, it makes sense. Had that not been the case, your "move window" would move your window in relation to the WM's decoration window, rather than in relation to the screen coordinates (as you probably meant).

Since the move window operation is actually performed by the window manager, it is also the one you should turn to in case it does not do what you expect it to.

So, which WM are you trying this under?

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to