svn path=/trunk/kdebase/kwin/; revision=63811
This commit is contained in:
Charles Samuels 2000-09-14 03:10:03 +00:00
parent 2f620c7e8b
commit fbc7c46935
4 changed files with 27 additions and 7 deletions

View file

@ -68,13 +68,16 @@ void Events::raise( Event e )
case ResizeEnd:
event = "resizeend";
break;
case StartKDE:
event = "startkde";
break;
case ExitKDE:
event = "exitkde";
break;
}
if ( !event )
return;
if ( !KNotifyClient::event( event ) )
forgetIt = TRUE;
forgetIt= !KNotifyClient::event( event );
}

View file

@ -29,7 +29,9 @@ public:
MoveStart,
MoveEnd,
ResizeStart,
ResizeEnd
ResizeEnd,
StartKDE,
ExitKDE
};
static void raise( Event );

View file

@ -783,8 +783,7 @@ Comment[it]=Una finestra viene attaccata
Comment[ja]=ウィンドウを常に表示します
Comment[mk]=Прозорот станува леплив
Comment[nl]=Een venster is plakkerig gemaakt
default_presentation=1
soundfile=pop.wav
default_presentation=0
[unsticky]
Name=Window Unsticky
@ -1053,3 +1052,16 @@ Comment[ja]=ウィンドウのリサイズが終了しました
Comment[mk]=Прозорот завршува со предименционирањето
Comment[nl]=Een venster is klaar met het wijzigen van grootte
default_presentation=0
[startkde]
Name=Login
Comment=KDE is Starting Up
default_presentation=1
default_sound=KDE_Startup.wav
[exitkde]
Name=Logout
Comment=KDE is Exiting
default_presentation=1
default_sound=KDE_Logout.wav

View file

@ -213,6 +213,7 @@ Workspace::Workspace( bool restore )
keys (0),
root (0)
{
Events::raise(Events::StartKDE);
root = qt_xrootwin();
default_colormap = DefaultColormap(qt_xdisplay(), qt_xscreen() );
installed_colormap = default_colormap;
@ -2152,6 +2153,8 @@ void Workspace::slotMouseEmulation()
void Workspace::slotLogout()
{
Events::raise(Events::ExitKDE);
kapp->requestShutDown();
}