XRandR temporary amendments
commit80814b7dba92d831dce66c81d04320af15be8023
authorCarlos R. Mafra <crmafra@gmail.com>
Wed, 22 Sep 2010 14:21:11 +0000 (22 16:21 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 7 Oct 2010 10:04:28 +0000 (7 12:04 +0200)
tree6931121e331f2bd783ceb99073a22618cbd7e96a
parente7f3e62d696c08e38db9c9c086fd8611ded70491
XRandR temporary amendments

If we Restart() directly, the windows with titlebars come back N pixels
below their original positions before the xrandr-induced restart, where
N is the titlebar height.

To avoid this issue, let's do the proper restart preparation before
actually calling Restart().

Let's also grab ConfigureNotify in the event loop as in the patch
here: http://lists.kde.org/?l=kwin&m=116429907520188&w=2
(thanks to Tamas for pointing it out).

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
src/event.c