1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +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:
Carlos R. Mafra
2009-10-09 19:57:25 +02:00
parent 7df49cce14
commit 2765bec3e4
10 changed files with 2 additions and 118 deletions

View File

@@ -48,7 +48,6 @@
#include "defaults.h"
#include "workspace.h"
#include "dock.h"
#include "wsound.h"
#include "xinerama.h"
@@ -401,7 +400,6 @@ WApplication *wApplicationCreate(WWindow * wwin)
extractClientIcon(wapp->app_icon);
}
wSoundPlay(WSOUND_APPSTART);
#ifdef DEBUG
printf("Created application for %x\n", (unsigned)main_window);
@@ -473,6 +471,4 @@ void wApplicationDestroy(WApplication * wapp)
if (wPreferences.auto_arrange_icons) {
wArrangeIcons(scr, True);
}
wSoundPlay(WSOUND_APPEXIT);
}