You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-construct/libs/qt-x11-free/files/0032-fix_rotated_randr.diff

22 lines
894 B

qt-bugs@ issue : N34454
bugs.kde.org number : 67101, 101516
applied: no
author: Lubos Lunak <l.lunak@kde.org>
This patch replaces the old #0032 patch.
The real problem is https://bugs.freedesktop.org/show_bug.cgi?id=2965 ,
so this patch is actually just a workaround.
--- tmp/qt-x11-free-3.3.8/src/kernel/qapplication_x11.cpp.sav 2005-04-08 16:52:58.000000000 +0200
+++ work/qt-x11-free-3.3.8/src/kernel/qapplication_x11.cpp 2005-04-11 13:09:46.000000000 +0200
@@ -3399,7 +3399,8 @@ int QApplication::x11ProcessEvent( XEven
#endif
#ifndef QT_NO_XRANDR
- if (event->type == xrandr_eventbase + RRScreenChangeNotify) {
+ if (event->type == xrandr_eventbase + RRScreenChangeNotify
+ || ( event->type == ConfigureNotify && event->xconfigure.window == QPaintDevice::x11AppRootWindow())) {
// update Xlib internals with the latest screen configuration
XRRUpdateConfiguration(event);