blob: a2f500b199a7686007b39e01b79fba3f0c401954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
qt-bugs@ issue : none yet
Trolltech task ID : none yet
bugs.kde.org number : ?
applied: no
author: Lubos Lunak <l.lunak@kde.org>
Fix QDesktopWidget not detecting some changes in multiscreen setups
(e.g. two screens 1280x1024, one of them switching to smaller size).
--- a/src/gui/kernel/qapplication_x11.cpp
+++ b/src/gui/kernel/qapplication_x11.cpp
@@ -3000,11 +3000,11 @@
QSize oldSize(w->size());
w->data->crect.setWidth(DisplayWidth(X11->display, scr));
w->data->crect.setHeight(DisplayHeight(X11->display, scr));
- if (w->size() != oldSize) {
+// if (w->size() != oldSize) {
QResizeEvent e(w->size(), oldSize);
QApplication::sendEvent(w, &e);
emit desktop()->resized(scr);
- }
+// }
}
#endif // QT_NO_XRANDR
|