[Xfce4-commits] [xfce/xfwm4] 06/08: netwm: Fix adding maximized state
noreply at xfce.org
noreply at xfce.org
Fri Jul 27 22:35:11 CEST 2018
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 2
in repository xfce/xfwm4.
commit 860b369474875442ff1e1b14589522a8db8e9804
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Wed Jul 18 15:28:23 2018 +0200
netwm: Fix adding maximized state
Bug 14514
xfwm4 would fail to add maximized states using extended window manager
hints mechanisms.
(cherry picked from commit 5e1354886ae9b22c0fe86ba695ed7f0a63fed14e)
---
src/netwm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/netwm.c b/src/netwm.c
index f44e95b..fc83486 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -382,9 +382,9 @@ clientUpdateNetState (Client * c, XClientMessageEvent * ev)
{
if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_HAS_MAXIMIZE))
{
- if ((action == NET_WM_STATE_ADD) && !FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED))
+ if ((action == NET_WM_STATE_ADD) && !FLAG_TEST_ALL (c->flags, CLIENT_FLAG_MAXIMIZED))
{
- mode = 0L;
+ mode = FLAG_TEST (c->flags, CLIENT_FLAG_MAXIMIZED);
if ((first == display_info->atoms[NET_WM_STATE_MAXIMIZED_HORZ]) ||
(second == display_info->atoms[NET_WM_STATE_MAXIMIZED_HORZ]))
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list