From f9958176db71a06f551c240c03f70b8a38cdf29f Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Thu, 4 Apr 2019 12:10:47 +0300 Subject: [PATCH] Do not send NSEvent only for single-click on appicon and minindow in WindowMaker environment. --- Source/x11/XGServerEvent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/x11/XGServerEvent.m b/Source/x11/XGServerEvent.m index 58ee9ca..0f36ef0 100644 --- a/Source/x11/XGServerEvent.m +++ b/Source/x11/XGServerEvent.m @@ -484,7 +484,7 @@ posixFileDescriptor: (NSPosixFileDescriptor*)fileDescriptor XSendEvent(dpy, cWin->parent, True, ButtonPressMask, &xEvent); XFlush(dpy); - if (clickCount != 2) + if (clickCount == 1) break; } }