/** * @file jwm.h * @author Joe Wingbermuehle * @date 2004-2006 * * @brief The main JWM header file. * */ #ifndef JWM_H #define JWM_H #include "../config.h" #ifndef MAKE_DEPEND # include # include # include # include /* Ideally png.h would be included in image.c, which is the only * file that references it. Unfortunately, if setjmp.h is included * before png.h, png.h will complain about only including setjmp.h * once. The X headers apparently include setjmp.h, so I don't have * any control over the situation. Fortunately png.h can't complain * if it was included first. */ # ifdef USE_PNG # include # endif # ifdef HAVE_STDARG_H # include # endif # ifdef HAVE_SIGNAL_H # include # endif # ifdef HAVE_UNISTD_H # include # endif # ifdef HAVE_TIME_H # include # endif # ifdef HAVE_SYS_WAIT_H # include # endif # ifdef HAVE_SYS_TIME_H # include # endif # ifdef HAVE_SYS_SELECT_H # include # endif # include # ifdef HAVE_X11_XUTIL_H # include # endif # ifdef HAVE_X11_XRESOURCE_H # include # endif # ifdef HAVE_X11_CURSORFONT_H # include # endif # ifdef HAVE_X11_XPROTO_H # include # endif # ifdef HAVE_X11_XATOM_H # include # endif # ifdef HAVE_X11_KEYSYM_H # include # endif # ifdef USE_SHAPE # include # endif # ifdef USE_XINERAMA # include # endif # ifdef USE_XFT # ifdef HAVE_FT2BUILD_H # include # endif # include # endif # ifdef USE_XRENDER # include # endif # ifdef USE_FRIBIDI # include # include # endif #endif /* MAKE_DEPEND */ #define MAX_DESKTOP_COUNT 8 #define MIN_DESKTOP_COUNT 1 #define DEFAULT_DESKTOP_COUNT 4 #define MAX_INCLUDE_DEPTH 16 #define MAX_BORDER_WIDTH 32 #define MIN_BORDER_WIDTH 1 #define DEFAULT_BORDER_WIDTH 4 #define MAX_TITLE_HEIGHT 64 #define MIN_TITLE_HEIGHT 2 #define DEFAULT_TITLE_HEIGHT 20 #define MAX_DOUBLE_CLICK_DELTA 32 #define MIN_DOUBLE_CLICK_DELTA 0 #define DEFAULT_DOUBLE_CLICK_DELTA 2 #define MAX_DOUBLE_CLICK_SPEED 2000 #define MIN_DOUBLE_CLICK_SPEED 1 #define DEFAULT_DOUBLE_CLICK_SPEED 400 #define MAX_SNAP_DISTANCE 32 #define MIN_SNAP_DISTANCE 1 #define DEFAULT_SNAP_DISTANCE 5 #define MAX_TRAY_BORDER 32 #define MIN_TRAY_BORDER 0 #define DEFAULT_TRAY_BORDER 1 #define MOVE_DELTA 3 #define RESTART_DELAY 50000 #define SHELL_NAME "/bin/sh" #define DEFAULT_MENU_TITLE "JWM" #include "debug.h" #include "jxlib.h" #endif /* JWM_H */