mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
- Made dock/clip steal appicons of applications that were started from a
shell/xterm or from the main menu, if there is a docked appicon of that class that is not running at the time the app is launched. - Added animation to show that the appicon was stolen by the dock (the way NEXTSTEP did - map an appicon as it normally would have been, then slide it to the position the docked appicon is). - Updated the animation constants for scrolling/sliding/shading to better adapt to newer/faster machines. Also used wusleep(10) when the delay was 0 to get rid of the jerky animation when there was no delay.
This commit is contained in:
@@ -73,7 +73,7 @@ static struct {
|
||||
{MENU_SCROLL_STEPS_F, MENU_SCROLL_DELAY_F},
|
||||
{MENU_SCROLL_STEPS_M, MENU_SCROLL_DELAY_M},
|
||||
{MENU_SCROLL_STEPS_S, MENU_SCROLL_DELAY_S},
|
||||
{MENU_SCROLL_STEPS_U, MENU_SCROLL_DELAY_U}};
|
||||
{MENU_SCROLL_STEPS_US, MENU_SCROLL_DELAY_US}};
|
||||
|
||||
|
||||
static void menuMouseDown(WObjDescriptor *desc, XEvent *event);
|
||||
|
||||
Reference in New Issue
Block a user