From d9557dba0d766f3d73131ca49b6409491684730e Mon Sep 17 00:00:00 2001 From: oga Date: Tue, 22 Jul 2008 20:42:24 +0000 Subject: 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. --- calmwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index a047301..cd06376 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.62 2008/07/22 20:26:12 oga Exp $ + * $Id: calmwm.h,v 1.63 2008/07/22 20:42:24 oga Exp $ */ #ifndef _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); -- cgit v1.2.3-2-gb3c3