1
0
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:
dan
1999-06-01 08:47:25 +00:00
parent 7f36af4fdf
commit 38bb25a732
13 changed files with 55 additions and 79 deletions

View File

@@ -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;
}