[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kwin] [Bug 293209] Kwin crash on startup
From: Andreas Demmer <mail () andreas-demmer ! de>
Date: 2013-02-21 7:54:35
Message-ID: bug-293209-17878-VNlVkYOmD1 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=293209
--- Comment #41 from Andreas Demmer <mail@andreas-demmer.de> ---
Not sure whether I got this right...
------------
diff --git a/kwin/events.cpp b/kwin/events.cpp
index 281f9e7..05cecc3 100644
--- a/kwin/events.cpp
+++ b/kwin/events.cpp
@@ -461,7 +461,10 @@ bool Workspace::workspaceEvent(XEvent * e)
break;
default:
if (e->type == Extensions::randrNotifyEvent() &&
Extensions::randrAvailable()) {
- XRRUpdateConfiguration(e);
+ XSync(display(),false);
+ if (qApp->desktop()->screenCount()) // possible cause
+ XRRUpdateConfiguration(e);
+ XSync(display(),false); // because xrandr states "should do that"
if (compositing()) {
// desktopResized() should take care of when the size or
// shape of the desktop has changed, but we also want to
------------
Was this your suggestion? Still crashing on unplug though... :(
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic