From 2c0910a2834d0e2c68380b39cc1512d81a9d9f72 Mon Sep 17 00:00:00 2001 From: Charles Samuels Date: Thu, 8 Jun 2000 23:44:41 +0000 Subject: [PATCH] take a look. it handles notifications now! :) remove $KDEHOME/share/apps/kwin/eventsrc first, do a fresh make install here, and hit the sticky button ;) the little pop sound is made by a microphone and me! :) svn path=/trunk/kdebase/kwin/; revision=52665 --- Makefile.am | 3 +++ events.cpp | 1 - eventsrc | 6 ++++-- pop.wav | Bin 0 -> 4068 bytes 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 pop.wav 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 0000000000000000000000000000000000000000..adf5c6c21373f4844ee37e60912b18b144e42c6d GIT binary patch literal 4068 zcmeI#J7^R^9LMo*?s6Ankc&bZiI0Gw5gWlm1cd{QXesz;d_+XFh*dyRYGtdP2o~Za zpq(IsV5NnfK?D^eB$Z8w0i$AG-U`3@{S!9aaYaz^KE=+>&iv=Gv$MNL4)yhoSKxT{ z*n#r{gPS{nmYV&K;M$263UqR=f3W{)t<3Ke*~z7fNGtWIWN}eR=hm88(cc16zgd;c zjw}0HI^+NUFFyl?+M;dL@=+Q+(`ZXsxfnCQUM%5se%U`Q*ZqyD*h}ZfT;KaKH$UwN z|9Z;fuRqe}_M#ZKxd^dVjOKJK;k3`UIJ1_D`OT#ruDSY+)N&htUn+lmUTcN$R4!qw zksfR(vIX0UbYY*7$Jj9T1bKsXAbYS=$Vse<#J7;=$ZhN{_8#fR9QP8o51GX7A-Aws z$Oh~Tb^*~$W=D_yI(7s3glWW8E(d3kGIk%kf;`05As4YBWEb`lxr*IEequ+l0c1D! z5xI#yK)zvzk<(Z&@(%O*8sbRg zss3oV%4K%s^4(nGL*m|yFqQZ&=w^Ge7Mnmk4`Zp1)8WqV3Ohzmn0MbjlZ+?s!&E4{ z9@BNH@FP%fCiotBR@>9{tb~276js$2%qzDI^O{+O`Kw?So5%8>6RsEcU&qysn;pHM z&0xMG-0tk6(P{7O2%~5V-EpiL=92i7@Y`9;bvpLly=+ZigvHPrsfD@p)s@YH+o&JG z;bK|uapf>qE=#x?zAp3Ojl+E?hOY;YGy4>l{IW4_ydKV1{p=Wf?6gaGbu5HgbFBF= KxY!@ZN~vF8bF|F> literal 0 HcmV?d00001