Keyboard shortcut for turning off the border.

svn path=/trunk/kdebase/kwin/; revision=251809
This commit is contained in:
Luboš Luňák 2003-09-17 10:57:28 +00:00
parent 5f0056e873
commit affe6e19cc
3 changed files with 8 additions and 0 deletions

View file

@ -32,6 +32,7 @@
DEF( I18N_NOOP("Window Lower"), 0, 0, slotWindowLower() );
DEF( I18N_NOOP("Window On All Desktops"), 0, 0, slotWindowOnAllDesktops() );
DEF( I18N_NOOP("Window Fullscreen"), 0, 0, slotWindowFullScreen() );
DEF( I18N_NOOP("Window No Border"), 0, 0, slotWindowNoBorder() );
DEF( I18N_NOOP("Window Above Other Windows"), 0, 0, slotWindowAbove() );
DEF( I18N_NOOP("Window Below Other Windows"), 0, 0, slotWindowBelow() );
DEF( I18N_NOOP("Toggle Window Raise/Lower"), 0, 0, slotWindowRaiseOrLower() );

View file

@ -640,6 +640,12 @@ void Workspace::slotWindowFullScreen()
performWindowOperation( active_client, Options::FullScreenOp );
}
void Workspace::slotWindowNoBorder()
{
if( active_client )
performWindowOperation( active_client, Options::NoBorderOp );
}
void Workspace::slotWindowAbove()
{
if( active_client )

View file

@ -314,6 +314,7 @@ class Workspace : public QObject, virtual public KWinInterface, public KDecorati
void slotWindowBelow();
void slotWindowOnAllDesktops();
void slotWindowFullScreen();
void slotWindowNoBorder();
void slotWindowToNextDesktop();
void slotWindowToPreviousDesktop();