about summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga <oga>2008-07-22 20:42:24 +0000
committeroga <oga>2008-07-22 20:42:24 +0000
commit436a9e5c54297a7b9b684d307106e62764cd5e93 (patch)
tree3b6e6bccf9318a7c0795b502eb8b11f18a09e912 /calmwm.h
parent20052e024894b7cc2196c43076cfb441a57a99a6 (diff)
downloadcwm-436a9e5c54297a7b9b684d307106e62764cd5e93.tar.gz
cwm-436a9e5c54297a7b9b684d307106e62764cd5e93.tar.xz
cwm-436a9e5c54297a7b9b684d307106e62764cd5e93.zip
split x_setup() into two. dpy_init() for setting up the display and
checking the X config, and x_setup to set up the screens.

There's an ordering problem that means that some of this init needs to
come after the config is parsed, the rest should ideally happen before
though. This is a rough split, it will be refined later. Again, needed
for an upcoming change.

ok okan.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 93d99f7..91cce4b 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -309,7 +309,7 @@ int			 input_keycodetrans(KeyCode, u_int, enum ctltype *,
 			     char *);
 
 int			 x_errorhandler(Display *, XErrorEvent *);
-void			 x_setup(char *display_name);
+void			 x_setup(void);
 char			*x_screenname(int);
 void			 x_setupscreen(struct screen_ctx *, u_int);
 __dead void		 usage(void);