removed minicli stuff
svn path=/trunk/kdebase/kwin/; revision=33160
This commit is contained in:
parent
8f06701973
commit
6919a58420
2 changed files with 4 additions and 17 deletions
|
@ -12,8 +12,6 @@
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
|
|
||||||
#include <kglobalaccel.h>
|
|
||||||
#include <klocale.h>
|
|
||||||
|
|
||||||
|
|
||||||
static Client* clientFactory( Workspace *ws, WId w )
|
static Client* clientFactory( Workspace *ws, WId w )
|
||||||
|
@ -67,11 +65,6 @@ Workspace::Workspace()
|
||||||
grabKey(XK_Tab, ControlMask | ShiftMask);
|
grabKey(XK_Tab, ControlMask | ShiftMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Workspace::slotExecuteCommand()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Workspace::Workspace( WId rootwin )
|
Workspace::Workspace( WId rootwin )
|
||||||
{
|
{
|
||||||
qDebug("create MDI workspace for %d", rootwin );
|
qDebug("create MDI workspace for %d", rootwin );
|
||||||
|
@ -139,11 +132,6 @@ void Workspace::init()
|
||||||
XUngrabServer( qt_xdisplay() );
|
XUngrabServer( qt_xdisplay() );
|
||||||
popup = 0;
|
popup = 0;
|
||||||
propagateClients();
|
propagateClients();
|
||||||
|
|
||||||
// KURT: Not sure where to put these..
|
|
||||||
keys = new KGlobalAccel();
|
|
||||||
keys->insertItem(i18n("Execute command"), "Execute command", "ALT+F2");
|
|
||||||
keys->connectItem("Execute command", this, SLOT(slotExecuteCommand()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Workspace::~Workspace()
|
Workspace::~Workspace()
|
||||||
|
@ -173,7 +161,6 @@ bool Workspace::workspaceEvent( XEvent * e )
|
||||||
return c->windowEvent( e );
|
return c->windowEvent( e );
|
||||||
|
|
||||||
if (!tab_grab && ! control_grab) { // don't process accelerators in tab or control mode
|
if (!tab_grab && ! control_grab) { // don't process accelerators in tab or control mode
|
||||||
if (keys->x11EventFilter(e))
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,6 +321,8 @@ bool Workspace::destroyClient( Client* c)
|
||||||
c->invalidateWindow();
|
c->invalidateWindow();
|
||||||
delete c;
|
delete c;
|
||||||
clientHidden( c );
|
clientHidden( c );
|
||||||
|
if ( c == desktop_client )
|
||||||
|
desktop_client = 0;
|
||||||
propagateClients();
|
propagateClients();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,8 +68,6 @@ public:
|
||||||
|
|
||||||
void makeFullScreen( Client* );
|
void makeFullScreen( Client* );
|
||||||
|
|
||||||
protected slots:
|
|
||||||
void slotExecuteCommand();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool keyPress( XKeyEvent key );
|
bool keyPress( XKeyEvent key );
|
||||||
|
|
Loading…
Reference in a new issue