catwm: rm next/prev desktop

This commit is contained in:
Dylan Araps committed 2019-10-11 14:55:52 +03:00
1 parent a071d7c03e
commit 0323e115ce
2 files changed
-26

No files matched your search

-24
View File
@@ -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;