mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
Remove DEMATERIALIZE_ICON code
This animation is not as cool as the NORMAL_ICON_KABOON, so I don't think having a choice here is justified. Let's remove this option (it was not defined in wconfig.h.in by default) and keep using the nicer NORMAL_ICON_KABOON.
This commit is contained in:
@@ -106,14 +106,6 @@ WAppIcon *wAppIconCreateForDock(WScreen * scr, char *command, char *wm_instance,
|
||||
wXDNDMakeAwareness(dicon->icon->core->window);
|
||||
#endif
|
||||
|
||||
#ifdef DEMATERIALIZE_ICON
|
||||
{
|
||||
XSetWindowAttributes attribs;
|
||||
attribs.save_under = True;
|
||||
XChangeWindowAttributes(dpy, dicon->icon->core->window, CWSaveUnder, &attribs);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* will be overriden by dock */
|
||||
dicon->icon->core->descriptor.handle_mousedown = appIconMouseDown;
|
||||
dicon->icon->core->descriptor.handle_expose = iconExpose;
|
||||
@@ -149,13 +141,6 @@ WAppIcon *wAppIconCreate(WWindow * leader_win)
|
||||
aicon->wm_instance = wstrdup(leader_win->wm_instance);
|
||||
|
||||
aicon->icon = wIconCreate(leader_win);
|
||||
#ifdef DEMATERIALIZE_ICON
|
||||
{
|
||||
XSetWindowAttributes attribs;
|
||||
attribs.save_under = True;
|
||||
XChangeWindowAttributes(dpy, aicon->icon->core->window, CWSaveUnder, &attribs);
|
||||
}
|
||||
#endif
|
||||
#ifdef XDND
|
||||
wXDNDMakeAwareness(aicon->icon->core->window);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user