support the ksmserver fix: treat fullscreen windows that explicitely

ask for stays-on-top slightly different (meaning to not lower them when
another window gets activated)

svn path=/trunk/kdebase/kwin/; revision=134903
This commit is contained in:
Matthias Ettrich 2002-02-01 11:51:40 +00:00
parent 6ebc89dac6
commit 8c368ed7bb

View file

@ -556,7 +556,7 @@ Client::Client( Workspace *ws, WId w, QWidget *parent, const char *name, WFlags
// window wants to stay on top?
stays_on_top = ( info->state() & NET::StaysOnTop) != 0 || ( transient_for == None && transient_for_defined );
// window does not want a taskbar entry?
skip_taskbar = ( info->state() & NET::SkipTaskbar) != 0;
@ -629,7 +629,8 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
QRect area = workspace()->clientArea();
if ( geom == workspace()->geometry() && inherits( "KWinInternal::NoBorderClient" ) ) {
is_fullscreen = TRUE;
if ( !stays_on_top )
is_fullscreen = TRUE;
may_move = FALSE; // don't let fullscreen windows be moved around
}