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
This commit is contained in:
parent
900e2e6c0b
commit
2c0910a283
4 changed files with 7 additions and 3 deletions
|
@ -27,6 +27,9 @@ datadir = $(kde_datadir)/kwin
|
|||
|
||||
data_DATA= eventsrc
|
||||
|
||||
sounddir= $(kde_sounddir)
|
||||
sound_DATA = pop.wav
|
||||
|
||||
dummy.cpp:
|
||||
echo > dummy.cpp
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
6
eventsrc
6
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
|
||||
|
|
BIN
pop.wav
Normal file
BIN
pop.wav
Normal file
Binary file not shown.
Loading…
Reference in a new issue