aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-05-05 06:42:28 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-05-05 06:42:28 (GMT)
commitfbcb0cd7e114ae8330f6a7dad2b5fb959120064a (patch)
treecfcb26145f66ef57cdb5459483d9c6202576a5fd /src
parente05230ea4b685ca09229511be0f3ec9f876a654e (diff)
downloadfluxbox_paul-fbcb0cd7e114ae8330f6a7dad2b5fb959120064a.zip
fluxbox_paul-fbcb0cd7e114ae8330f6a7dad2b5fb959120064a.tar.bz2
use maximize options for fullscreen as well
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 427cd63..05ce98f 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2799,7 +2799,7 @@ void FluxboxWindow::startMoving(int x, int y) {
2799 return; 2799 return;
2800 } 2800 }
2801 2801
2802 if (isMaximized() && screen().getMaxDisableMove()) 2802 if ((isMaximized() || isFullscreen()) && screen().getMaxDisableMove())
2803 return; 2803 return;
2804 2804
2805 // save first event point 2805 // save first event point
@@ -3073,7 +3073,7 @@ void FluxboxWindow::startResizing(int x, int y, ReferenceCorner dir) {
3073 if (s_num_grabs > 0 || isShaded() || isIconic() ) 3073 if (s_num_grabs > 0 || isShaded() || isIconic() )
3074 return; 3074 return;
3075 3075
3076 if (isMaximized() && screen().getMaxDisableResize()) 3076 if ((isMaximized() || isFullscreen()) && screen().getMaxDisableResize())
3077 return; 3077 return;
3078 3078
3079 m_resize_corner = dir; 3079 m_resize_corner = dir;