4 * Copyright (c) Tuomo Valkonen 1999-2007.
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>
20 #include <libtu/stringstore.h>
25 #include "clientwin.h"
29 IONCORE_INPUTMODE_NORMAL,
30 IONCORE_INPUTMODE_GRAB,
31 IONCORE_INPUTMODE_WAITRELEASE
36 IONCORE_OPMODE_NORMAL,
53 Atom atom_wm_change_state;
54 Atom atom_wm_protocols;
56 Atom atom_wm_take_focus;
57 Atom atom_wm_colormaps;
58 Atom atom_wm_window_role;
68 /* We could have a display WRegion but the screen-link could impose
69 * some problems so these are handled as a special case.
71 WRegion *focus_current;
81 int frame_default_index;
82 bool framed_transients;
84 /*bool save_enabled;*/
86 bool use_mb; /* use mb routines? */
87 bool enc_sb; /* 8-bit charset? If unset, use_mb must be set. */
88 bool enc_utf8; /* mb encoding is utf8? */
90 const char *sm_client_id;
110 extern WGlobal ioncore_g;
112 #endif /* ION_IONCORE_GLOBAL_H */