diff options
author | Mattias Andrée <maandree@kth.se> | 2018-03-31 20:26:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-03-31 20:26:18 +0200 |
commit | 6da7a239d26339a6c04297f8d8709049ff270d33 (patch) | |
tree | cc877d94a4a30ae997cfc32916a90b385e57a52e /xcman.c | |
parent | Simplify (diff) | |
download | xcman-6da7a239d26339a6c04297f8d8709049ff270d33.tar.gz xcman-6da7a239d26339a6c04297f8d8709049ff270d33.tar.bz2 xcman-6da7a239d26339a6c04297f8d8709049ff270d33.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xcman.c')
-rw-r--r-- | xcman.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |