diff options
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client.c b/client.c index 5ce61e4..3a1ce01 100644 --- a/client.c +++ b/client.c @@ -532,6 +532,15 @@ client_hide(struct client_ctx *cc) } void +client_show(struct client_ctx *cc) +{ + if (cc->flags & CLIENT_HIDDEN) + client_unhide(cc); + else + client_raise(cc); +} + +void client_unhide(struct client_ctx *cc) { XMapRaised(X_Dpy, cc->win); |