aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xcman.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xcman.c b/xcman.c
index a7b76a2..a05afef 100644
--- a/xcman.c
+++ b/xcman.c
@@ -577,10 +577,8 @@ register_composite_manager(void)
w = XGetSelectionOwner(dpy, a);
if (w) {
winNameAtom = XInternAtom(dpy, "_NET_WM_NAME", 0);
- if (!XGetTextProperty(dpy, w, &tp, winNameAtom) &&
- !XGetTextProperty(dpy, w, &tp, XA_WM_NAME)) {
+ if (!XGetTextProperty(dpy, w, &tp, winNameAtom) && !XGetTextProperty(dpy, w, &tp, XA_WM_NAME))
eprintf("another composite manager is already running (0x%lx)\n", (unsigned long int)w);
- }
if (!XmbTextPropertyToTextList(dpy, &tp, &strs, &count)) {
fprintf(stderr, "another composite manager is already running (%s)\n", strs[0]);
XFreeStringList(strs);