summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/focus.c2
-rw-r--r--openbox/focus.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index cac6fc79..97dfcd7a 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -35,7 +35,7 @@
#include <glib.h>
#include <assert.h>
-ObClient *focus_client;
+ObClient *focus_client, *focus_hilite;
GList **focus_order; /* these lists are created when screen_startup
sets the number of desktops */
ObClient *focus_cycle_target;
diff --git a/openbox/focus.h b/openbox/focus.h
index 090af72b..f60ff61a 100644
--- a/openbox/focus.h
+++ b/openbox/focus.h
@@ -28,6 +28,10 @@ struct _ObClient;
/*! The client which is currently focused */
extern struct _ObClient *focus_client;
+/*! The client which is being decorated as focused, not always matching the
+ real focus, but this is used to track it so that it can be ersolved to match
+*/
+extern struct _ObClient *focus_hilite;
/*! The client which appears focused during a focus cycle operation */
extern struct _ObClient *focus_cycle_target;