summaryrefslogtreecommitdiffstats
path: root/ui/base/x
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/x')
-rw-r--r--ui/base/x/x11_util.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc
index fda637c..56e53f9 100644
--- a/ui/base/x/x11_util.cc
+++ b/ui/base/x/x11_util.cc
@@ -441,13 +441,13 @@ bool GetXWindowStack(Window window, std::vector<XID>* windows) {
int format;
unsigned long count;
unsigned char *data = NULL;
- if (!GetProperty(window,
- "_NET_CLIENT_LIST_STACKING",
- ~0L,
- &type,
- &format,
- &count,
- &data)) {
+ if (GetProperty(window,
+ "_NET_CLIENT_LIST_STACKING",
+ ~0L,
+ &type,
+ &format,
+ &count,
+ &data) != Success) {
return false;
}