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

added new sound events

This commit is contained in:
kojima
1999-10-24 08:59:19 +00:00
parent 0ccb32dab9
commit e4ac18c04d
3 changed files with 22 additions and 2 deletions

View File

@@ -53,6 +53,7 @@
#include "workspace.h"
#include "framewin.h"
#include "superfluous.h"
#include "wmsound.h"
#include <proplist.h>
@@ -3917,8 +3918,20 @@ handleIconMove(WDock *dock, WAppIcon *aicon, XEvent *event)
*/
if (aicon->icon->selected)
wIconSelect(aicon->icon);
#ifdef WMSOUND
wSoundPlay(WMSOUND_KABOOM);
#endif
DoKaboom(scr,aicon->icon->core->window, x, y);
#ifdef WMSOUND
} else {
wSoundPlay(WMSOUND_UNDOCK);
#endif
}
#ifdef WMSOUND
} else {
wSoundPlay(WMSOUND_UNDOCK);
#endif
}
if (clip && clip->auto_raise_lower)
wDockLower(clip);