diff --git a/manage.cpp b/manage.cpp index 10f28e194f..e86902d203 100644 --- a/manage.cpp +++ b/manage.cpp @@ -99,8 +99,11 @@ bool Client::manage( Window w, bool isMapped ) bool mresize, mmove, mminimize, mmaximize, mclose; if( Motif::funcFlags( client, mresize, mmove, mminimize, mmaximize, mclose )) { - motif_may_resize = mresize; // this should be set using minsize==maxsize, but oh well - motif_may_move = mmove; + if( !hasNETSupport()) // NETWM apps should set type and size constraints + { + motif_may_resize = mresize; // this should be set using minsize==maxsize, but oh well + motif_may_move = mmove; + } // 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