mart created this revision. mart added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY this replaces the approach with the expose event in https://phabricator.kde.org/R120:20b439a4f4a1aa652f7960f0e6dfa8201f89aa11 by directly monitoring the xcb screen change notify native event TEST PLAN attaching and detaching the external screen on a laptop configured to deactivate the internal screen upon connection REPOSITORY R120 Plasma Workspace BRANCH phab/nativeeventfilt REVISION DETAIL https://phabricator.kde.org/D3822 AFFECTED FILES CMakeLists.txt shell/CMakeLists.txt shell/desktopview.cpp shell/desktopview.h shell/shellcorona.cpp shell/shellcorona.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: mart, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas