made full_screen windows work again (there's now a namespace around

NoBorderClient) and define them to stay on top (works now with qt 2.3.1 as
well)

svn path=/trunk/kdebase/kwin/; revision=103793
icc-effect-5.14.5
Matthias Ettrich 2001-06-25 15:52:58 +00:00
parent 975139aaa5
commit b7b0f427b0
1 changed files with 4 additions and 3 deletions

View File

@ -604,10 +604,11 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
geom = session->geometry;
QRect area = workspace()->clientArea();
if ( geom == workspace()->geometry() && inherits( "NoBorderClient" ) ) {
if ( geom == workspace()->geometry() && inherits( "KWinInternal::NoBorderClient" ) ) {
is_fullscreen = TRUE;
may_move = FALSE; // don't let fullscreen windows be moved around
setStaysOnTop( TRUE ); // fullscreen windows shall be on top
}
if ( isMapped || session || isTransient() ) {
@ -758,7 +759,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
setSkipPager( session->skipPager );
maximize( (MaximizeMode) session->maximize );
geom_restore = session->restore;
} else {
} else if ( !is_fullscreen ){
// window may want to be maximized
if ( (info->state() & NET::Max) == NET::Max )
maximize( Client::MaximizeFull );