From 6da7a239d26339a6c04297f8d8709049ff270d33 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 31 Mar 2018 20:26:18 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xcman.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xcman.c') 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); -- cgit v1.2.3-70-g09d2