From b2a0b6323e67b7285efd1767a0e0a439853e8bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 25 Jul 2015 16:22:07 +0200 Subject: [PATCH] screenshot: fixed parenthesis warning on not operator... * "logical not is only applied to the left hand side of comparison" * found with GCC6 --- src/apps/screenshot/Screenshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/screenshot/Screenshot.cpp b/src/apps/screenshot/Screenshot.cpp index 88bac5d000..ef179787f9 100644 --- a/src/apps/screenshot/Screenshot.cpp +++ b/src/apps/screenshot/Screenshot.cpp @@ -308,7 +308,7 @@ Screenshot::_GetActiveWindowFrame() token = tokens[i]; windowInfo = get_window_info(token); if (windowInfo && !windowInfo->is_mini - && !windowInfo->show_hide_level > 0) { + && !(windowInfo->show_hide_level > 0)) { foundActiveWindow = true; break; }