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
icc-effect-5.14.5
Charles Samuels 2000-06-08 23:44:41 +00:00
parent 900e2e6c0b
commit 2c0910a283
4 changed files with 7 additions and 3 deletions

View File

@ -27,6 +27,9 @@ datadir = $(kde_datadir)/kwin
data_DATA= eventsrc
sounddir= $(kde_sounddir)
sound_DATA = pop.wav
dummy.cpp:
echo > dummy.cpp

View File

@ -8,7 +8,6 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
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

View File

@ -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

BIN
pop.wav Normal file

Binary file not shown.