]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/global.h
Imported Upstream version 20090110
[ion3.git] / ioncore / global.h
index b23dce272789da027a58c2cff62827e63cdbe854..fb00d99e93278221409a32ca77b84f62944d6534 100644 (file)
@@ -1,12 +1,9 @@
 /*
  * ion/ioncore/global.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2007
+ * Copyright (c) Tuomo Valkonen 1999-2009
  *
- * 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
@@ -37,6 +34,14 @@ enum{
     IONCORE_OPMODE_DEINIT
 };
 
+enum{
+    IONCORE_FOCUSNEXT_OTHER,
+    IONCORE_FOCUSNEXT_POINTERHACK,
+    IONCORE_FOCUSNEXT_ENTERWINDOW,
+    IONCORE_FOCUSNEXT_FALLBACK
+};
+
+
 INTRSTRUCT(WGlobal);
 
 
@@ -59,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.
@@ -80,8 +87,9 @@ 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. */
@@ -102,7 +110,9 @@ DECLSTRUCT(WGlobal){
                  unset_return,
                  pseudoactivated,
                  pseudoinactivated,
-                 deinit;
+                 deinit,
+                 map,
+                 unmap;
     } notifies;
 };