Hi devels,

I meet a problem that XMoveResizeWindow does not work in following scenario:
1. Drag the title tar of a window (e.g., a terminal window) to the top edge
of the screen to maximize it.
2. Click the restore button in the title bar to restore the window.
3. Programmatically call XMoveResizeWindow/XMoveWindow/XResizeWindow to
move/resize the window -- failed (the window in the screen does not move
nor change the size, and ConfigureNotify always comes with the unchanged
position and size).

If maximizing the window by clicking the maximize button instead, those
move/resize API's work well. But once maximized the window by dragging the
title bar, it no longer correctly responds move/resize API's.

I did the experiment on Ubuntu 12.04 with the default WM.

Thanks,
Kaifeng
-- 
Ubuntu-devel-discuss mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to