summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-08 18:28:31 +0000
committerDana Jansens <danakj@orodu.net>2003-10-08 18:28:31 +0000
commitfe3e73f1902cdf4f5173e7e40b48daff5ebd684f (patch)
treed25e4415d727cd7bd9addbe4660097cd4ec2f6c6
parent440b862204e92ca0703d68d0f7f7d72bdef7d702 (diff)
add a focus_hilite variable
-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;