diff options
author | okan <okan> | 2013-04-29 00:56:47 +0000 |
---|---|---|
committer | okan <okan> | 2013-04-29 00:56:47 +0000 |
commit | 94e341725b9e44c4ce1b15135b5b825c5c2b2dd3 (patch) | |
tree | 9453355d5af8b7b2e57212484d342b562e7dafb9 /calmwm.h | |
parent | 006a29e61773b02855e3c4e4a85d0e05f2837c6e (diff) | |
download | cwm-94e341725b9e44c4ce1b15135b5b825c5c2b2dd3.tar.gz cwm-94e341725b9e44c4ce1b15135b5b825c5c2b2dd3.tar.xz cwm-94e341725b9e44c4ce1b15135b5b825c5c2b2dd3.zip |
use an int in screen_init and avoid needing to cast for screen number (which).
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h index 4eb1e69..b0a7c12 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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 *); |