Wednesday, June 10, 2009

Window resizing and repainting synchronization on X11

Implemented the _NET_WM_SYNC_REQUEST protocol in Qt for synchronizing window resize (ConfigureNotify events) and repainting (Expose events).

The change makes window resize feel a bit more sluggish in some cases (for example when repainting the whole toplevel is not very fast) since the frame doesn't follow the mouse when the window manager waits for the preview resize+repaint to complete, however there are no more grey unexposed areas when the user resizes windows. Though it works perfectly in Compiz and Metacity, kwin4 seems to need more polishing in its composition manager.

More info.

No comments:

Denis Dzyubenko shadone