From d0056935c51ba5ac91467176f37e2c359bb902f6 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 21 Apr 2014 19:37:57 +0400 Subject: [PATCH] Hide grip widget on maximize window on Linux (Issue #32) --- src/XGUI/XGUI_ViewWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_ViewWindow.cpp b/src/XGUI/XGUI_ViewWindow.cpp index 38d259ff9..f02499857 100644 --- a/src/XGUI/XGUI_ViewWindow.cpp +++ b/src/XGUI/XGUI_ViewWindow.cpp @@ -352,7 +352,8 @@ void XGUI_ViewWindow::windowActivated() } myViewBar->show(); myWindowBar->show(); - myGripWgt->setVisible(!(isMaximized() || isMinimized())); + myGripWgt->setVisible(!(isMaximized() || isMinimized() || + parentWidget()->isMaximized() || parentWidget()->isMinimized())); } else myIsActive = false; } -- 2.39.2