aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 8d2bcc4..a993076 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2447,6 +2447,12 @@ void FluxboxWindow::configureRequestEvent(XConfigureRequestEvent &cr) {
2447 } 2447 }
2448 } 2448 }
2449 2449
2450 // don't allow moving/resizing fullscreen or maximized windows
2451 if (isFullscreen() || isMaximizedHorz() && screen().getMaxIgnoreIncrement())
2452 cr.value_mask = cr.value_mask & ~(CWWidth | CWX);
2453 if (isFullscreen() || isMaximizedVert() && screen().getMaxIgnoreIncrement())
2454 cr.value_mask = cr.value_mask & ~(CWHeight | CWY);
2455
2450#ifdef REMEMBER 2456#ifdef REMEMBER
2451 // don't let misbehaving clients (e.g. MPlayer) move/resize their windows 2457 // don't let misbehaving clients (e.g. MPlayer) move/resize their windows
2452 // just after creation if the user has a saved position/size 2458 // just after creation if the user has a saved position/size