add unhide shortcut

This commit is contained in:
Iris Lightshard 2019-12-07 14:32:51 -05:00
parent e181d10b32
commit cbd09d0751
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,7 @@
#define MAX_KEY XK_m #define MAX_KEY XK_m
#define ICON_KEY XK_i #define ICON_KEY XK_i
#define UNHIDE_KEY XK_u
#define MOVE_KEY XK_v #define MOVE_KEY XK_v
#define RESIZE_KEY XK_r #define RESIZE_KEY XK_r
#define DESTROY_KEY XK_d #define DESTROY_KEY XK_d

4
menu.c
View file

@ -119,7 +119,11 @@ button(XButtonEvent *e)
} }
switch (e->button){ switch (e->button){
case Button1: case Button1:
printf("button 1 on client");
fflush(stdout);
if(c){ if(c){
if (ffm)
XRaiseWindow(dpy, c->window);
XMapRaised(dpy, c->parent); XMapRaised(dpy, c->parent);
top(c); top(c);
active(c); active(c);