diff --git a/Makefile.am b/Makefile.am index 4bbff4f8f5..0f252a6231 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,6 +27,9 @@ datadir = $(kde_datadir)/kwin data_DATA= eventsrc +sounddir= $(kde_sounddir) +sound_DATA = pop.wav + dummy.cpp: echo > dummy.cpp diff --git a/events.cpp b/events.cpp index 052732bd18..bfde1ef0df 100644 --- a/events.cpp +++ b/events.cpp @@ -8,7 +8,6 @@ Copyright (C) 1999, 2000 Matthias Ettrich void Events::raise( Event e ) { -return; // seems like knotify is unusable static bool forgetIt = FALSE; if ( forgetIt ) return; // no connection was possible, don't try each time diff --git a/eventsrc b/eventsrc index b861e56d06..7ea335485c 100644 --- a/eventsrc +++ b/eventsrc @@ -100,12 +100,14 @@ default_presentation=0 [sticky] Name=Window Sticky Comment=A Window is Made Sticky -default_presentation=0 +default_presentation=1 +soundfile=pop.wav [unsticky] Name=Window Unsticky Comment=A Window is Made Unsticky -default_presentation=0 +default_presentation=1 +soundfile=pop.wav [transnew] Name=Window Trans New diff --git a/pop.wav b/pop.wav new file mode 100644 index 0000000000..adf5c6c213 Binary files /dev/null and b/pop.wav differ