From db53075917686a34b6a23d561b5f2da98465fe64 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 8e84a82f..c49d80a7 100644 --- a/openbox/actions.c +++ b/openbox/actions.c @@ -368,5 +368,5 @@ gboolean actions_client_locked(ObActionsData *data) { ObClient *c = data->client; - return c && c->locked; + return !c || (c && c->locked); } -- 2.34.1