As there is already an attribute to allow changing this behaviour, and this is being using for the Net WM hints, there is no reason to not support it for MWM Hints also; contrary to the initial guess suggested by the comment it costs actually nothing to properly support that.
Signed-off-by: Christophe CURIS <[email protected]> --- src/motif.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/motif.c b/src/motif.c index 6537038..34f6847 100644 --- a/src/motif.c +++ b/src/motif.c @@ -93,13 +93,7 @@ static void setupMWMHints(WWindow *wwin, MWMHints *mwm_hints) } if (mwm_hints->decorations & MWM_DECOR_BORDER) { - /* - * WindowMaker is drawing only a discreet 1 pixel border without - * any decoration like a few other X window managers used to do, so - * we assume it is not worth spending the time to add extra - * complexity to handle this special request, considering also that - * the Motif toolkit is not used anymore nowadays. - */ + wwin->client_flags.no_border = 0; } if (mwm_hints->decorations & MWM_DECOR_RESIZEH) -- 2.1.4 -- To unsubscribe, send mail to [email protected].
