From 24497c3cf4d6810d3a69a2d2b412d86b548e4939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 28 Jun 2021 16:07:16 +0200 Subject: Unshade window when middle-clicked in taskbar --- src/taskbar.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/taskbar.c b/src/taskbar.c index d86320d..0b9a130 100644 --- a/src/taskbar.c +++ b/src/taskbar.c @@ -269,6 +269,8 @@ void ProcessTaskButtonEvent(TrayComponentType *cp, int x, int y, int mask) { switch(mask) { case Button2: MoveMouseToClient(np->client); + if(np->client->state.status & STAT_SHADED) + UnshadeClient(np->client); if(np->client->state.status & STAT_ACTIVE && np->client == nodes[np->client->state.layer]) break; -- cgit v1.2.3