X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.h;h=b5b473b8c2c2561b3f972c87cde4167fe12308a5;hb=cadab91e522c6426cc79df4f06e7c05232cb0a64;hp=c6a2f2104c085cd40ab1786244af36088d6db85e;hpb=ec908528cf2abad9d2b968db9c8f7287ef5f54fe;p=chaz%2Fopenbox diff --git a/openbox/openbox.h b/openbox/openbox.h index c6a2f210..b5b473b8 100644 --- a/openbox/openbox.h +++ b/openbox/openbox.h @@ -26,21 +26,22 @@ SnDisplay *ob_sn_display; /*! The number of the screen on which we're running */ extern gint ob_screen; -/*! The root window */ -extern Window ob_root; + +extern gchar *ob_sm_id; +extern gboolean ob_sm_use; +extern gboolean ob_replace_wm; /* The state of execution of the window manager */ -extern ObState ob_state; +ObState ob_state(); void ob_restart_other(const gchar *path); void ob_restart(); void ob_exit(); +void ob_exit_with_error(gchar *msg); + Cursor ob_cursor(ObCursor cursor); KeyCode ob_keycode(ObKey key); -/* cuz i have nowhere better to put it right now... */ -gboolean ob_pointer_pos(int *x, int *y); - #endif