aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga2008-07-22 20:42:24 +0000
committeroga2008-07-22 20:42:24 +0000
commitd9557dba0d766f3d73131ca49b6409491684730e (patch)
tree5c4df1db7538132c81c311ab88890cdd42e2d333 /calmwm.h
parentb4bfc6d32a6ba32f5ae79b7e8a9a010f9052ba8d (diff)
downloadcwm-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.h4
1 files changed, 2 insertions, 2 deletions
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);