aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/taskbar.c2
1 files changed, 2 insertions, 0 deletions
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;