4 * Copyright (c) Tuomo Valkonen 1999-2006.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_IONCORE_GLOBAL_H
13 #define ION_IONCORE_GLOBAL_H
17 #include <X11/Xutil.h>
18 #include <X11/Xresource.h>
23 #include "clientwin.h"
27 IONCORE_INPUTMODE_NORMAL,
28 IONCORE_INPUTMODE_GRAB,
29 IONCORE_INPUTMODE_WAITRELEASE
34 IONCORE_OPMODE_NORMAL,
50 Atom atom_wm_change_state;
51 Atom atom_wm_protocols;
53 Atom atom_wm_take_focus;
54 Atom atom_wm_colormaps;
55 Atom atom_wm_window_role;
65 /* We could have a display WRegion but the screen-link could impose
66 * some problems so these are handled as a special case.
68 WRegion *focus_current;
78 int frame_default_index;
79 bool framed_transients;
81 /*bool save_enabled;*/
83 bool use_mb; /* use mb routines? */
84 bool enc_sb; /* 8-bit charset? If unset, use_mb must be set. */
85 bool enc_utf8; /* mb encoding is utf8? */
87 const char *sm_client_id;
91 extern WGlobal ioncore_g;
93 #endif /* ION_IONCORE_GLOBAL_H */