use an int in screen_init and avoid needing to cast for screen number (which).

This commit is contained in:
okan
2013-04-29 00:56:47 +00:00
parent 006a29e617
commit 94e341725b
3 changed files with 4 additions and 4 deletions

View File

@@ -205,7 +205,7 @@ TAILQ_HEAD(autogroupwin_q, autogroupwin);
struct screen_ctx {
TAILQ_ENTRY(screen_ctx) entry;
u_int which;
int which;
Visual *visual;
Colormap colormap;
Window rootwin;
@@ -374,7 +374,7 @@ void search_print_client(struct menu *, int);
struct geom screen_find_xinerama(struct screen_ctx *, int, int);
struct screen_ctx *screen_fromroot(Window);
void screen_init(u_int);
void screen_init(int);
void screen_update_geometry(struct screen_ctx *);
void screen_updatestackingorder(struct screen_ctx *);