mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
*** empty log message ***
This commit is contained in:
@@ -4130,6 +4130,14 @@ iconMouseDown(WObjDescriptor *desc, XEvent *event)
|
||||
(event->xbutton.state & ShiftMask) && aicon!=scr->clip_icon) {
|
||||
wClipMakeIconOmnipresent(aicon, !aicon->omnipresent);
|
||||
} else if (event->xbutton.button == Button3) {
|
||||
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 dockicon menu");
|
||||
return;
|
||||
}
|
||||
|
||||
openDockMenu(dock, aicon, event);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user