X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=ioncore%2Fglobal.h;h=c6ae9a72a69ea83fff4a63adee375545d810746b;hp=37569104b812575552ccab5799951413a944f044;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hpb=8366314611bf30a0f31d25bf5f5023186fa87692 diff --git a/ioncore/global.h b/ioncore/global.h index 3756910..c6ae9a7 100644 --- a/ioncore/global.h +++ b/ioncore/global.h @@ -1,12 +1,9 @@ /* * ion/ioncore/global.h * - * Copyright (c) Tuomo Valkonen 1999-2006. + * Copyright (c) Tuomo Valkonen 1999-2007. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ #ifndef ION_IONCORE_GLOBAL_H @@ -17,6 +14,8 @@ #include #include +#include + #include "rootwin.h" #include "screen.h" #include "window.h" @@ -35,8 +34,17 @@ enum{ IONCORE_OPMODE_DEINIT }; +enum{ + IONCORE_FOCUSNEXT_OTHER, + IONCORE_FOCUSNEXT_POINTERHACK, + IONCORE_FOCUSNEXT_ENTERWINDOW, + IONCORE_FOCUSNEXT_FALLBACK +}; + + INTRSTRUCT(WGlobal); + DECLSTRUCT(WGlobal){ int argc; char **argv; @@ -56,11 +64,13 @@ DECLSTRUCT(WGlobal){ Atom atom_checkcode; Atom atom_selection; Atom atom_mwm_hints; - + Atom atom_dockapp_hack; + WRootWin *rootwins; WScreen *screens; WRegion *focus_next; bool warp_next; + int focus_next_source; /* We could have a display WRegion but the screen-link could impose * some problems so these are handled as a special case. @@ -77,14 +87,33 @@ DECLSTRUCT(WGlobal){ bool screen_notify; int frame_default_index; bool framed_transients; - - /*bool save_enabled;*/ + bool no_mousefocus; + bool unsqueeze_enabled; + bool autoraise; bool use_mb; /* use mb routines? */ bool enc_sb; /* 8-bit charset? If unset, use_mb must be set. */ bool enc_utf8; /* mb encoding is utf8? */ const char *sm_client_id; + + struct{ + StringId activated, + inactivated, + activity, + sub_activity, + name, + unset_manager, + set_manager, + tag, + set_return, + unset_return, + pseudoactivated, + pseudoinactivated, + deinit, + map, + unmap; + } notifies; };