XMoveResizeWindow after maximizing a window by dragging it to the top of the screen

kaifeng.zhu cafeeee at gmail.com
Fri May 10 07:49:05 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20130510/c7cff8ab/attachment.html>


More information about the Ubuntu-devel-discuss mailing list