From 187d26a641301a6253e55874baa093f4ab5807a2 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Thu, 24 Dec 2009 16:30:07 +0000 Subject: [PATCH] If both quick maximization and "allow moving and resizing of maximized windows" are enabled then don't instantly restore maximized windows when they are dragged. BUG: 219952 svn path=/trunk/KDE/kdebase/workspace/; revision=1065887 --- geometry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index 989731b5af..6051dd724a 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -2739,7 +2739,8 @@ bool Client::startMoveResize() move_resize_grab_window = None; return false; } - if( maximizeMode() == MaximizeFull && options->electricBorderMaximize() ) + if( maximizeMode() == MaximizeFull && options->electricBorderMaximize() && + !options->moveResizeMaximizedWindows() ) { // If we have quick maximization enabled then it's safe to automatically restore windows // 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.