Remove the Change Desktop Notifications
parent
2b3cf17649
commit
af673c11d7
3490
kwin.notifyrc
3490
kwin.notifyrc
File diff suppressed because it is too large
Load Diff
|
@ -108,9 +108,6 @@ bool Notify::raise(Event e, const QString& message, Client* c)
|
|||
event = "unfullscreen";
|
||||
break;
|
||||
default:
|
||||
if ((e > DesktopChange) && (e <= DesktopChange + 20)) {
|
||||
event = QString("desktop%1").arg(e - DesktopChange);
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (event.isNull())
|
||||
|
|
|
@ -59,8 +59,7 @@ public:
|
|||
DemandAttentionOther,
|
||||
CompositingSuspendedDbus,
|
||||
FullScreen,
|
||||
UnFullScreen,
|
||||
DesktopChange = 100
|
||||
UnFullScreen
|
||||
};
|
||||
|
||||
static bool raise(Event, const QString& message = QString(), Client* c = NULL);
|
||||
|
|
|
@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*********************************************************************/
|
||||
#include "../virtualdesktops.h"
|
||||
// for mocking
|
||||
#include "../notifications.h"
|
||||
// KDE
|
||||
#include <KDE/KAction>
|
||||
#include <KDE/KActionCollection>
|
||||
|
@ -31,13 +29,6 @@ namespace KWin {
|
|||
|
||||
int screen_number = 0;
|
||||
|
||||
bool Notify::raise(Event e, const QString& message, Client* c)
|
||||
{
|
||||
Q_UNUSED(e)
|
||||
Q_UNUSED(message)
|
||||
Q_UNUSED(c)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(Qt::Orientation)
|
||||
|
|
|
@ -19,8 +19,6 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*********************************************************************/
|
||||
#include "virtualdesktops.h"
|
||||
// KWin
|
||||
#include "notifications.h"
|
||||
// KDE
|
||||
#include <KDE/KAction>
|
||||
#include <KDE/KActionCollection>
|
||||
|
@ -243,7 +241,6 @@ bool VirtualDesktopManager::setCurrent(uint newDesktop)
|
|||
return false;
|
||||
}
|
||||
const uint oldDesktop = m_current;
|
||||
Notify::raise((Notify::Event)(Notify::DesktopChange + newDesktop));
|
||||
// change the desktop
|
||||
m_current = newDesktop;
|
||||
emit currentChanged(oldDesktop, newDesktop);
|
||||
|
|
Loading…
Reference in New Issue