From 997b3e5d91f4194fa592c72a71ca29496014ba99 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 10 May 2015 19:56:04 +0200 Subject: [PATCH] wmaker: honour MWM Hint to have no border to a window 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 --- src/motif.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/motif.c b/src/motif.c index 65370387..34f6847d 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)