From e98eb83a8b1a318462bca862be3dca3c3a179ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 24 Jun 2005 15:14:02 +0000 Subject: [PATCH] Reset variables in else case. svn path=/trunk/KDE/kdebase/kwin/; revision=428548 --- client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.cpp b/client.cpp index a6b482a8e3..7771c139e4 100644 --- a/client.cpp +++ b/client.cpp @@ -1381,6 +1381,8 @@ void Client::getMotifHints() motif_may_resize = mresize; // this should be set using minsize==maxsize, but oh well motif_may_move = mmove; } + else + motif_may_resize = motif_may_move = true; // mminimize; - ignore, bogus - e.g. shading or sending to another desktop is "minimizing" too // mmaximize; - ignore, bogus - maximizing is basically just resizing motif_may_close = mclose; // motif apps like to crash when they set this hint and WM closes them anyway