[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_0_BRANCH: kdebase/kwin
From:       Klas Kalass <klas.kalass () gmx ! de>
Date:       2002-12-14 15:20:45
[Download RAW message or body]

CVS commit by kalass: 

do not force desktop menu on top of windows that want to be on top, fixes fullscreen \
behaviour for non-kde apps with multiple windows (i.e. mplayer)


  M +5 -1      workspace.cpp   1.328.2.4


--- kdebase/kwin/workspace.cpp  #1.328.2.3:1.328.2.4
@@ -1389,5 +1389,9 @@ void Workspace::setActiveClient( Client*
     if ( menubar ) {
         menubar->show();
+        // do not cover a client that wants to stay on top with the desktop menu
+        if ( menubar->mainClient() == active_client->mainClient()
+             || !active_client->staysOnTop())
         menubar->raise(); // better for FocusFollowsMouse than raiseClient(menubar)
+
         raiseElectricBorders();
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic