summaryrefslogtreecommitdiff
path: root/src/netwm.c
diff options
context:
space:
mode:
authorYouri Mouton <yrmt@edgebsd.org>2015-03-27 22:30:20 +0100
committerOlivier Fourdan <fourdan@xfce.org>2015-03-27 22:30:20 +0100
commit023763f1d217dcfe738ffd5c3fea9511d0ea963c (patch)
tree4ac6d97c874270329491a2ea0e485d837009ffc0 /src/netwm.c
parentfc38533582d972ffc826b5741449306a4234fbad (diff)
downloadxfwm4-023763f1d217dcfe738ffd5c3fea9511d0ea963c.tar.gz
Fix compiler warnings
Bug: 11723
Diffstat (limited to 'src/netwm.c')
-rw-r--r--src/netwm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/netwm.c b/src/netwm.c
index 335920131..93ff43f57 100644
--- a/src/netwm.c
+++ b/src/netwm.c
@@ -189,27 +189,27 @@ clientGetNetState (Client * c)
i = 0;
while (i < n_atoms)
{
- if ((atoms[i] == display_info->atoms[NET_WM_STATE_SHADED]))
+ if (atoms[i] == display_info->atoms[NET_WM_STATE_SHADED])
{
TRACE ("clientGetNetState : shaded");
FLAG_SET (c->flags, CLIENT_FLAG_SHADED);
}
- else if ((atoms[i] == display_info->atoms[NET_WM_STATE_STICKY]))
+ else if (atoms[i] == display_info->atoms[NET_WM_STATE_STICKY])
{
TRACE ("clientGetNetState : sticky");
FLAG_SET (c->flags, CLIENT_FLAG_STICKY);
}
- else if ((atoms[i] == display_info->atoms[NET_WM_STATE_MAXIMIZED_HORZ]))
+ else if (atoms[i] == display_info->atoms[NET_WM_STATE_MAXIMIZED_HORZ])
{
TRACE ("clientGetNetState : maximized horiz");
FLAG_SET (c->flags, CLIENT_FLAG_MAXIMIZED_HORIZ | CLIENT_FLAG_RESTORE_SIZE_POS);
}
- else if ((atoms[i] == display_info->atoms[NET_WM_STATE_MAXIMIZED_VERT]))
+ else if (atoms[i] == display_info->atoms[NET_WM_STATE_MAXIMIZED_VERT])
{
TRACE ("clientGetNetState : maximized vert");
FLAG_SET (c->flags, CLIENT_FLAG_MAXIMIZED_VERT | CLIENT_FLAG_RESTORE_SIZE_POS);
}
- else if ((atoms[i] == display_info->atoms[NET_WM_STATE_FULLSCREEN]))
+ else if (atoms[i] == display_info->atoms[NET_WM_STATE_FULLSCREEN])
{
if (!FLAG_TEST_ALL (c->flags, CLIENT_FLAG_ABOVE | CLIENT_FLAG_BELOW))
{
@@ -217,7 +217,7 @@ clientGetNetState (Client * c)
FLAG_SET (c->flags, CLIENT_FLAG_FULLSCREEN);
}
}
- else if ((atoms[i] == display_info->atoms[NET_WM_STATE_ABOVE]))
+ else if (atoms[i] == display_info->atoms[NET_WM_STATE_ABOVE])
{
if (!FLAG_TEST_ALL (c->flags, CLIENT_FLAG_FULLSCREEN | CLIENT_FLAG_BELOW))
{
@@ -225,7 +225,7 @@ clientGetNetState (Client * c)
FLAG_SET (c->flags, CLIENT_FLAG_ABOVE);
}
}
- else if ((atoms[i] == display_info->atoms[NET_WM_STATE_BELOW]))
+ else if (atoms[i] == display_info->atoms[NET_WM_STATE_BELOW])
{
if (!FLAG_TEST_ALL (c->flags, CLIENT_FLAG_ABOVE | CLIENT_FLAG_FULLSCREEN))
{