diff options
-rw-r--r-- | plugins/place.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/place.c b/plugins/place.c index 5840a552..6447d75d 100644 --- a/plugins/place.c +++ b/plugins/place.c @@ -1329,7 +1329,12 @@ placeValidateWindowResizeRequest (CompWindow *w, if (xwc->width >= workArea.width && xwc->height >= workArea.height) { - placeSendWindowMaximizationRequest (w); + if ((w->actions & MAXIMIZE_STATE) == MAXIMIZE_STATE && + (w->mwmDecor & (MwmDecorAll | MwmDecorTitle)) && + !(w->state & CompWindowStateFullscreenMask)) + { + placeSendWindowMaximizationRequest (w); + } } if ((right - left) > workArea.width) |