From fe3e73f1902cdf4f5173e7e40b48daff5ebd684f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 8 Oct 2003 18:28:31 +0000 Subject: [PATCH] add a focus_hilite variable --- openbox/focus.c | 2 +- openbox/focus.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 #include -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; -- 2.39.2