Do not send NSEvent only for single-click on appicon and minindow in WindowMaker environment.

This commit is contained in:
Sergii Stoian 2019-04-04 12:10:47 +03:00
parent 21f38f8060
commit f9958176db

View file

@ -484,7 +484,7 @@ posixFileDescriptor: (NSPosixFileDescriptor*)fileDescriptor
XSendEvent(dpy, cWin->parent, True,
ButtonPressMask, &xEvent);
XFlush(dpy);
if (clickCount != 2)
if (clickCount == 1)
break;
}
}