From e9d4ad4be0f4c54eabec42ae2087994b5380c8d5 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 28 Feb 2008 19:42:46 +0100 Subject: [PATCH] Make * not crash when something isn't focused. --- openbox/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/actions.c b/openbox/actions.c index a6c20526..b43d86a9 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -471,5 +471,5 @@ gboolean actions_client_locked(ObActionsData *data) { ObClient *c = data->client; - return c && c->locked; + return !c || (c && c->locked); } -- 2.34.1