add unhide shortcut
This commit is contained in:
parent
e181d10b32
commit
cbd09d0751
2 changed files with 5 additions and 0 deletions
1
config.h
1
config.h
|
@ -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
4
menu.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue