mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit 0323e115cec6ea3d403ebdb9358988138a6c19b8
parent a071d7c03e57e0da06424914f577c3fc7dcf5898
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri, 11 Oct 2019 14:55:52 +0300

catwm: rm next/prev desktop

Diffstat:
Mcatwm.c | 24------------------------
Mconfig.h | 2--
2 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/catwm.c b/catwm.c @@ -89,9 +89,7 @@ static void kill_client(); static void maprequest(XEvent *e); static void move_down(); static void move_up(); -static void next_desktop(); static void next_win(); -static void prev_desktop(); static void prev_win(); static void quit(); static void remove_window(Window w); @@ -358,17 +356,6 @@ void move_up() { update_current(); } -void next_desktop() { - int tmp = current_desktop; - if(tmp== 9) - tmp = 0; - else - tmp++; - - Arg a = {.i = tmp}; - change_desktop(a); -} - void next_win() { client *c; @@ -383,17 +370,6 @@ void next_win() { } } -void prev_desktop() { - int tmp = current_desktop; - if(tmp == 0) - tmp = 9; - else - tmp--; - - Arg a = {.i = tmp}; - change_desktop(a); -} - void prev_win() { client *c; diff --git a/config.h b/config.h @@ -75,8 +75,6 @@ static struct key keys[] = { { 0, XF86XK_AudioRaiseVolume, spawn, {.com = volup}}, { MOD, XK_p, spawn, {.com = dmenucmd}}, { MOD|ShiftMask, XK_Return, spawn, {.com = urxvtcmd}}, - { MOD, XK_Right, next_desktop, {NULL}}, - { MOD, XK_Left, prev_desktop, {NULL}}, DESKTOPCHANGE( XK_0, 0) DESKTOPCHANGE( XK_1, 1) DESKTOPCHANGE( XK_2, 2)