/*
* ion/ioncore/global.h
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * Copyright (c) Tuomo Valkonen 1999-2008.
*
- * 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
#include <X11/Xutil.h>
#include <X11/Xresource.h>
+#include <libtu/stringstore.h>
+
#include "rootwin.h"
#include "screen.h"
#include "window.h"
IONCORE_OPMODE_DEINIT
};
+enum{
+ IONCORE_FOCUSNEXT_OTHER,
+ IONCORE_FOCUSNEXT_POINTERHACK,
+ IONCORE_FOCUSNEXT_ENTERWINDOW,
+ IONCORE_FOCUSNEXT_FALLBACK
+};
+
+
INTRSTRUCT(WGlobal);
+
DECLSTRUCT(WGlobal){
int argc;
char **argv;
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.
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;
};