aboutsummaryrefslogtreecommitdiffstats
path: root/xcman.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-03-31 20:26:18 +0200
committerMattias Andrée <maandree@kth.se>2018-03-31 20:26:18 +0200
commit6da7a239d26339a6c04297f8d8709049ff270d33 (patch)
treecc877d94a4a30ae997cfc32916a90b385e57a52e /xcman.c
parentSimplify (diff)
downloadxcman-6da7a239d26339a6c04297f8d8709049ff270d33.tar.gz
xcman-6da7a239d26339a6c04297f8d8709049ff270d33.tar.bz2
xcman-6da7a239d26339a6c04297f8d8709049ff270d33.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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);