mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Omnipresent appicon mark
This commit is contained in:
@@ -4042,11 +4042,9 @@ iconMouseDown(WObjDescriptor *desc, XEvent *event)
|
||||
event->xany.send_event = True;
|
||||
(*desc->handle_mousedown)(desc, event);
|
||||
}
|
||||
#if 1
|
||||
} else if (event->xbutton.button==Button2 && dock->type==WM_CLIP &&
|
||||
(event->xbutton.state & ShiftMask) && aicon!=scr->clip_icon) {
|
||||
wClipMakeIconOmnipresent(aicon, !aicon->omnipresent);
|
||||
#endif
|
||||
} else if (event->xbutton.button == Button3) {
|
||||
openDockMenu(dock, aicon, event);
|
||||
}
|
||||
@@ -4361,6 +4359,8 @@ wClipMakeIconOmnipresent(WAppIcon *aicon, int omnipresent)
|
||||
}
|
||||
}
|
||||
|
||||
wAppIconPaint(aicon);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user