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.


Wednesday, April 08, 2009

Automatic window maximization in Gnome

After using Windows 7 for some time, I've noticed that it has a really nice feature that allows to automatically maximize a window by dragging it to the top edge of the screen and restore a window from a maximized state by dragging its titlebar. I've implemented the same feature for metacity, the Gnome's window manager, and I find it very convenient. Lets hope it will be accepted upstream. Issue 578409 in bugzilla.

P.S. It's been a while since I blogged last time here and I made only a few blog posts in the corporate blog, well I have to say I am a terrible blogger, will see how it goes on.


Denis Dzyubenko shadone