From fbb1afdda9ec7e453b28ed39f71e853a012b58b2 Mon Sep 17 00:00:00 2001 From: Alberto Milone Date: Thu, 1 Sep 2011 20:59:47 +0200 Subject: [PATCH 1/1] Call updateOutputDevices() after detectOutputDevices() when handling a ConfigureEvent This fixes an issue with screen rotation which limits the windows extents of each output to a smaller area and fills the rest of the screen with graphics corruption (LP: #833549). Signed-off-by: Alberto Milone --- src/screen.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/screen.cpp b/src/screen.cpp index 20d6b38..42f7cc8 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -2054,6 +2054,8 @@ PrivateScreen::configure (XConfigureEvent *ce) priv->reshape (ce->width, ce->height); priv->detectOutputDevices (); + + priv->updateOutputDevices (); } void -- 1.7.4.1