add a focus_hilite variable
authorDana Jansens <danakj@orodu.net>
Wed, 8 Oct 2003 18:28:31 +0000 (18:28 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 8 Oct 2003 18:28:31 +0000 (18:28 +0000)
openbox/focus.c
openbox/focus.h

index cac6fc7..97dfcd7 100644 (file)
@@ -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;
index 090af72..f60ff61 100644 (file)
@@ -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;