diff options
author | oga | 2008-07-22 20:42:24 +0000 |
---|---|---|
committer | oga | 2008-07-22 20:42:24 +0000 |
commit | d9557dba0d766f3d73131ca49b6409491684730e (patch) | |
tree | 5c4df1db7538132c81c311ab88890cdd42e2d333 /calmwm.h | |
parent | b4bfc6d32a6ba32f5ae79b7e8a9a010f9052ba8d (diff) | |
download | cwm-d9557dba0d766f3d73131ca49b6409491684730e.tar.gz |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |