From 9f5920a1345d1b7486cdde70ef6b7f3e9283b09c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 27 Jul 2004 08:48:38 +0000 Subject: [PATCH] Make sure topmenu space is even below fullscreens if there are no topmenus. svn path=/trunk/kdebase/kwin/; revision=333180 --- layers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers.cpp b/layers.cpp index c676845fef..645ea8724c 100644 --- a/layers.cpp +++ b/layers.cpp @@ -145,11 +145,11 @@ void Workspace::propagateClients( bool propagate_new_clients ) --it ) { new_stack[ pos++ ] = (*it)->frameId(); - if( (*it)->isTopMenu()) + if( (*it)->belongsToLayer() >= DockLayer ) topmenu_space_pos = pos; } if( topmenu_space != NULL ) - { // make sure the topmenu space is below all topmenus, if there are any + { // make sure the topmenu space is below all topmenus, fullscreens, etc. for( int i = pos; i > topmenu_space_pos; --i )