Revision 8bab9b8...

Go back to digest for 15th December 2013

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kdelibs/frameworks] tier1/kwindowsystem/src/kwindowsystem_x11.cpp:

Properly set the event mask on the windows watched by KWindowSystem

KWindowSystem tried to only change the event mask for windows not
belonging to the same process by using QWidget::find to test whether
the window belongs to the same process or not. This does no longer
work in a QWindow world. If the window belongs to a Q(Quick)Window
QWidget::find returns a nullptr just like for windows of another
process. This caused the XSelectWindow to overwrite the event mask
used by Qt and thus for example mouse events were no longer recieved
at all.

With this change the event mask is updated for all windows, no matter
whether it's an own or a foreign window. But the event mask currently
installed on the window is preserved, so Qt still gets the events it
expects.

REVIEW: 114396

File Changes

Modified 1 files
  • tier1/kwindowsystem/src/kwindowsystem_x11.cpp
1 files changed in total