mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Remove sound support
Two reasons for removing it:
1) I won't ever want to hear useless sounds
2) The sound support is a bit of a joke. The code is there but you have
to hunt it somewhere else (not in any repository that I know of).
In my 10 years of using wmaker, I never used it for this reason.
Now I consider having no sound in Window Maker a feature, and I like
it that way. So there is no point in carrying useless code around.
PS: There is still the code in WPrefs to be removed.
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
#include "workspace.h"
|
||||
#include "framewin.h"
|
||||
#include "superfluous.h"
|
||||
#include "wsound.h"
|
||||
#include "xinerama.h"
|
||||
|
||||
/**** Local variables ****/
|
||||
@@ -3681,13 +3680,8 @@ static Bool handleIconMove(WDock *dock, WAppIcon *aicon, XEvent *event)
|
||||
if (aicon->icon->selected)
|
||||
wIconSelect(aicon->icon);
|
||||
|
||||
wSoundPlay(WSOUND_KABOOM);
|
||||
DoKaboom(scr, aicon->icon->core->window, x, y);
|
||||
} else {
|
||||
wSoundPlay(WSOUND_UNDOCK);
|
||||
}
|
||||
} else {
|
||||
wSoundPlay(WSOUND_UNDOCK);
|
||||
}
|
||||
if (clip && clip->auto_raise_lower)
|
||||
wDockLower(clip);
|
||||
|
||||
Reference in New Issue
Block a user