From 15d03428b15da6ad069ff2b073221fed75cad331 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Tue, 5 Jul 2016 19:23:57 -0300 Subject: [PATCH] Not show border windows with _NET_WM_WINDOW_TYPE_TOOLBAR Bug: 12433 Libreofice use this on some toolbar popups. --- src/netwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/netwm.c b/src/netwm.c index f779bc8..d84b9ff 100644 --- a/src/netwm.c +++ b/src/netwm.c @@ -1234,7 +1234,8 @@ clientWindowType (Client * c) FLAG_SET (c->flags, CLIENT_FLAG_SKIP_PAGER | CLIENT_FLAG_SKIP_TASKBAR); FLAG_UNSET (c->xfwm_flags, - XFWM_FLAG_HAS_HIDE | XFWM_FLAG_HAS_MAXIMIZE); + XFWM_FLAG_HAS_BORDER | XFWM_FLAG_HAS_HIDE | + XFWM_FLAG_HAS_MAXIMIZE); } else if (c->type_atom == display_info->atoms[NET_WM_WINDOW_TYPE_MENU]) { -- 2.7.4