updateFocusMousePosition when exiting fullscreen mode
REVIEW: 104985 BUG: 300245 FIXED-IN: 4.9
This commit is contained in:
parent
66e3d7daa7
commit
4643b59b0f
1 changed files with 3 additions and 1 deletions
|
@ -2345,7 +2345,9 @@ void Client::setFullScreen(bool set, bool user)
|
|||
set = rules()->checkFullScreen(set);
|
||||
setShade(ShadeNone);
|
||||
bool was_fs = isFullScreen();
|
||||
if (!was_fs)
|
||||
if (was_fs)
|
||||
workspace()->updateFocusMousePosition(QCursor::pos());
|
||||
else
|
||||
geom_fs_restore = geometry();
|
||||
fullscreen_mode = set ? FullScreenNormal : FullScreenNone;
|
||||
if (was_fs == isFullScreen())
|
||||
|
|
Loading…
Reference in a new issue