Fix fullscreen on youtube with latest flash. Requiring the fullscreen

window to be focusable is probably unnecessary and this was breaking
because of the skiptasbar flag.


svn path=/trunk/KDE/kdebase/workspace/; revision=763600
This commit is contained in:
Luboš Luňák 2008-01-19 21:26:47 +00:00
parent 6e87d16cec
commit 039fdd6124

View file

@ -840,7 +840,7 @@ Layer Client::belongsToLayer() const
// only raise fullscreen above docks if it's the topmost window in unconstrained stacking order,
// i.e. the window set to be topmost by the user (also includes transients of the fullscreen window)
const Client* ac = workspace()->mostRecentlyActivatedClient(); // instead of activeClient() - avoids flicker
const Client* top = workspace()->topClientOnDesktop( desktop(), true );
const Client* top = workspace()->topClientOnDesktop( desktop(), true, false );
if( isFullScreen() && ac != NULL && top != NULL
&& ( ac == this || this->group() == ac->group())
&& ( top == this || this->group() == top->group()))