summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2011-05-27 21:04:14 -0600
committerScott Moreau <oreaus@gmail.com>2011-06-03 22:27:03 -0600
commita02b427846f3eb77bc6d32caaf52687031eea9d7 (patch)
tree9aa61486171aa8aef6564bfd12637785c090854e /src
parentf3a17768d665abab97b888d4d6e66f47770c27df (diff)
downloadmobilebling-a02b427846f3eb77bc6d32caaf52687031eea9d7.tar.gz
mobilebling-a02b427846f3eb77bc6d32caaf52687031eea9d7.tar.bz2
Redetect devices unconditionally when handling ConfigureNotify event. This fixes the case where an output was moved but outputChangeNotify is not called.
Diffstat (limited to 'src')
-rw-r--r--src/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 4d26c68..cd685af 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -2154,11 +2154,11 @@ PrivateScreen::configure (XConfigureEvent *ce)
{
priv->attrib.width = ce->width;
priv->attrib.height = ce->height;
+ }
priv->reshape (ce->width, ce->height);
priv->detectOutputDevices ();
- }
}
void