Review Request: Fix KSelectionWatcher / KWindowSystem::compositingChanged signal

Thomas Lübking thomas.luebking at
Fri Jan 4 21:57:14 GMT 2013

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 4, 2013, 9:57 p.m.)

Review request for kdelibs, kwin, Aaron J. Seigo, Marco Martin, Martin Gräßlin, and Luboš Luňák.


Figured kselectionwatcher problem, added testcase

Description (updated)

It works fine here (tested so far KWindowSystem signal, KSelectionWatcher only with kwin) with kwin (shift+alt+f12), xcompmgr, compiz & "metacity -c" and e17.
Didn't try xfce nor mutter.

I do not at all understand why KWindowSystem is *not* watching the root window - KSelectionOwner for one is sending events to the root and this also seems the case for all other WMs (at least everything now starts to cause the signal to be emitted)

The KSelectionWatcher failure seems to be kwin specific (wrote me a cleaner testcase), there'll be some X11 event processing on top that eats away the client messages.
So this one can be scratched from the patch, the KWindowSystem issue remains.

This addresses bug 179042.


  kdeui/util/kmanagerselection.cpp a289f47 
  kdeui/windowmanagement/kwindowsystem_x11.cpp f9b3cc1 



see summary


Thomas Lübking

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
kwin mailing list
kwin at

More information about the kde-core-devel mailing list