Teach screen_find_xinerama() to apply gap only when told to do so;

adjust callers.  Needed for an upcoming feature.
This commit is contained in:
okan
2013-12-13 22:39:13 +00:00
parent 5732b65139
commit f98f4615c0
6 changed files with 25 additions and 15 deletions

View File

@@ -80,6 +80,9 @@
#define CWM_TILE_HORIZ 0x0001
#define CWM_TILE_VERT 0x0002
#define CWM_GAP 0x0001
#define CWM_NOGAP 0x0002
union arg {
char *c;
int i;
@@ -430,7 +433,8 @@ void search_match_text(struct menu_q *, struct menu_q *,
char *);
void search_print_client(struct menu *, int);
struct geom screen_find_xinerama(struct screen_ctx *, int, int);
struct geom screen_find_xinerama(struct screen_ctx *,
int, int, int);
struct screen_ctx *screen_fromroot(Window);
void screen_init(int);
void screen_update_geometry(struct screen_ctx *);