mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-08-13 19:25:45 -07:00
sowm: clean up
This commit is contained in:
6
sowm.c
6
sowm.c
@@ -66,9 +66,9 @@ static void (*events[LASTEvent])(XEvent *e) = {
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#define win (client *t=0, *c=list; c && t!=list->prev; t=c, c=c->next)
|
#define win (client *t=0, *c=list; c && t!=list->prev; t=c, c=c->next)
|
||||||
#define ws_save(W) ws_list[W] = list
|
#define ws_save(W) ws_list[W] = list
|
||||||
#define ws_sel(W) list = ws_list[ws = W]
|
#define ws_sel(W) list = ws_list[ws = W]
|
||||||
|
|
||||||
#define win_size(W, gx, gy, gw, gh) \
|
#define win_size(W, gx, gy, gw, gh) \
|
||||||
XGetGeometry(d, W, &(Window){0}, gx, gy, gw, gh, \
|
XGetGeometry(d, W, &(Window){0}, gx, gy, gw, gh, \
|
||||||
|
Reference in New Issue
Block a user