Merge branch 'master' of github.com:dylanaraps/sowm

This commit is contained in:
Dylan Araps
2019-12-18 11:30:21 +00:00
5 changed files with 343 additions and 0 deletions

8
sowm.c
View File

@@ -42,6 +42,7 @@ static void win_center();
static void win_del(Window w);
static void win_fs();
static void win_kill();
static void win_prev();
static void win_next();
static void win_to_ws(const Arg arg);
static void ws_go(const Arg arg);
@@ -209,6 +210,13 @@ void win_to_ws(const Arg arg) {
if (list) win_focus(list);
}
void win_prev() {
if (!cur) return;
XRaiseWindow(d, cur->prev->w);
win_focus(cur->prev);
}
void win_next() {
if (!cur) return;