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

Some cleanup in the dock.c code.

This commit is contained in:
dan
1999-04-22 03:33:54 +00:00
parent dfbc246a3f
commit a997825148

View File

@@ -3645,25 +3645,11 @@ handleIconMove(WDock *dock, WAppIcon *aicon, XEvent *event)
if (!ondock) {
XMapWindow(dpy, scr->dock_shadow);
#if 0
if (!collapsed && (collapsed = last_dock->collapsed)) {
last_dock->collapsed = 0;
wDockShowIcons(last_dock);
}
#endif
}
ondock = 1;
} else {
if (ondock) {
XUnmapWindow(dpy, scr->dock_shadow);
#if 0
if (last_dock && collapsed &&
aicon->running && (ev.xmotion.state & MOD_MASK)) {
last_dock->collapsed = 1;
wDockHideIcons(last_dock);
collapsed = 0;
}
#endif
}
ondock = 0;
}