Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Workspace
Commits
cc50c7b9
Commit
cc50c7b9
authored
Nov 01, 2012
by
Thomas Lübking
Browse files
don't leave quick tiling for FS windows
REVIEW: 107317 BUG: 309170
parent
ff9d5958
Changes
1
Show whitespace changes
Inline
Side-by-side
kwin/geometry.cpp
View file @
cc50c7b9
...
...
@@ -2544,7 +2544,9 @@ bool Client::startMoveResize()
// when starting a move as the user can undo their action by moving the window back to
// the top of the screen. When the setting is disabled then doing so is confusing.
bool
fakeMove
=
false
;
if
(
maximizeMode
()
!=
MaximizeRestore
&&
(
maximizeMode
()
!=
MaximizeFull
||
options
->
moveResizeMaximizedWindows
()))
{
if
(
!
isFullScreen
())
{
// xinerama move across screens -> window is FS, everything else is secondary and untouched
if
(
maximizeMode
()
!=
MaximizeRestore
&&
(
maximizeMode
()
!=
MaximizeFull
||
options
->
moveResizeMaximizedWindows
()))
{
// allow moveResize, but unset maximization state in resize case
if
(
mode
!=
PositionCenter
)
{
// means "isResize()" but moveResizeMode = true is set below
if
(
maximizeMode
()
==
MaximizeFull
)
{
// partial is cond. reset in finishMoveResize
...
...
@@ -2563,6 +2565,7 @@ bool Client::startMoveResize()
double
(
moveOffset
.
y
())
/
double
(
before
.
height
())
*
double
(
geom_restore
.
height
()));
fakeMove
=
true
;
}
}
if
(
quick_tile_mode
!=
QuickTileNone
&&
mode
!=
PositionCenter
)
{
// Cannot use isResize() yet
// Exit quick tile mode when the user attempts to resize a tiled window
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment