1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

*** empty log message ***

This commit is contained in:
kojima
2000-02-24 17:03:07 +00:00
parent ac38d149e0
commit 08e7220dfe
3 changed files with 22 additions and 4 deletions

View File

@@ -759,6 +759,14 @@ appIconMouseDown(WObjDescriptor *desc, XEvent *event)
if (!wapp)
return;
if (event->xbutton.send_event &&
XGrabPointer(dpy, aicon->icon->core->window, True, ButtonMotionMask
|ButtonReleaseMask|ButtonPressMask, GrabModeAsync,
GrabModeAsync, None, None, CurrentTime) !=GrabSuccess) {
wwarning("pointer grab failed for appicon menu");
return;
}
openApplicationMenu(wapp, event->xbutton.x_root,
event->xbutton.y_root);