Add a dedicated X11EventFilter for forwarding property events to the effect system
ClosedPublic

Authored by graesslin on Sep 16 2017, 5:29 PM.

Details

Summary

So far both Workspace and Toplevel emitted signals for every property
notify event on the root window and the respective Toplevel windows. The
signals were only used in EffectsHandlerImpl to forward to the effect
system in case the property which changed is registered by an effect.

This change introduces a dedicated event filter for this which is only
created in EffectsHandlerImpl in case an X11 connection is available. It
supports a restart of the X11 system.

The signals used so far are removed from Workspace and Toplevel.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Sep 16 2017, 5:29 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 16 2017, 5:29 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
broulik accepted this revision.Sep 25 2017, 2:03 PM
This revision is now accepted and ready to land.Sep 25 2017, 2:03 PM
This revision was automatically updated to reflect the committed changes.