[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdelibs/kdeui/windowmanagement
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2010-04-21 11:58:22
Message-ID: 20100421120109.C993EAC8A1 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1117153 by lunakl:
Detect desktop changes when mapping from viewports.
Patch by Danny Baumann.
M +6 -2 kwindowsystem_x11.cpp
--- branches/KDE/4.4/kdelibs/kdeui/windowmanagement/kwindowsystem_x11.cpp #1117152:1117153
@@ -168,8 +168,12 @@
else if( ev->xproperty.atom == XA_WM_ICON_NAME )
dirty[ NETWinInfo::PROTOCOLS ] |= NET::WMIconName; // support for old iconic name
}
- if( mapViewport() && ( dirty[ NETWinInfo::PROTOCOLS ] & NET::WMState ))
- dirty[ NETWinInfo::PROTOCOLS ] |= NET::WMDesktop; // possible NET::Sticky change
+ if( mapViewport() && ( dirty[ NETWinInfo::PROTOCOLS ] & (NET::WMState | NET::WMGeometry) )) {
+ /* geometry change -> possible viewport change
+ * state change -> possible NET::Sticky change
+ */
+ dirty[ NETWinInfo::PROTOCOLS ] |= NET::WMDesktop;
+ }
if ( (dirty[ NETWinInfo::PROTOCOLS ] & NET::WMStrut) != 0 ) {
removeStrutWindow( ev->xany.window );
if ( !possibleStrutWindows.contains( ev->xany.window ) )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic