mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
added new sound events
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#ifdef XDND
|
||||
#include "xdnd.h"
|
||||
#endif
|
||||
#include "wmsound.h"
|
||||
#include "WINGsP.h"
|
||||
|
||||
|
||||
@@ -914,6 +915,10 @@ appIconMouseDown(WObjDescriptor *desc, XEvent *event)
|
||||
SlideWindow(icon->core->window, x, y, aicon->x_pos,
|
||||
aicon->y_pos);
|
||||
}
|
||||
|
||||
#ifdef WMSOUND
|
||||
wSoundPlay(WMSOUND_DOCK);
|
||||
#endif
|
||||
} else {
|
||||
XMoveWindow(dpy, icon->core->window, x, y);
|
||||
aicon->x_pos = x;
|
||||
|
||||
Reference in New Issue
Block a user