Hi,
is possible remove this code? I did it and no differences :-/
Cheers,
kix
kix@kentin:~/src/wmaker-crm$ git diff
diff --git a/src/dock.c b/src/dock.c
index e837280..2f394d7 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -3250,29 +3250,6 @@ void wDockTrackWindowLaunch(WDock *dock, Window window)
icon->main_window = window;
}
found = True;
- if (!wPreferences.no_animations && !icon->launching &&
- !dock->screen_ptr->flags.startup &&
!dock->collapsed) {
- WAppIcon *aicon;
- int x0, y0;
-
- icon->launching = 1;
- dockIconPaint(icon);
-
- aicon =
wAppIconCreateForDock(dock->screen_ptr, NULL,
-
wm_instance, wm_class, TILE_NORMAL);
- /* XXX: can: aicon->icon == NULL ? */
- PlaceIcon(dock->screen_ptr, &x0, &y0,
wGetHeadForWindow(aicon->icon->owner));
- wAppIconMove(aicon, x0, y0);
- /* Should this always be lowered? -Dan */
- if (dock->lowered)
- wLowerFrame(aicon->icon->core);
- XMapWindow(dpy, aicon->icon->core->window);
- aicon->launching = 1;
- wAppIconPaint(aicon);
- SlideWindow(aicon->icon->core->window,
x0, y0, icon->x_pos, icon->y_pos);
- XUnmapWindow(dpy, aicon->icon->core->window);
- wAppIconDestroy(aicon);
- }
wDockFinishLaunch(icon);
break;
}
kix@kentin:~/src/wmaker-crm$
Rodolfo García Peñas (kix)
http://www.kix.es/
--
To unsubscribe, send mail to [email protected].