From: Dana Jansens Date: Wed, 8 Oct 2003 18:28:31 +0000 (+0000) Subject: add a focus_hilite variable X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fe3e73f1902cdf4f5173e7e40b48daff5ebd684f;p=chaz%2Fopenbox add a focus_hilite variable --- 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;