mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Add quit function, bind it per default to CM-q and change exec_wm
binding to CM-w. Inital diff from Gleydson Soares Feedback from oga@ and okan@ ok oga@
This commit is contained in:
8
kbfunc.c
8
kbfunc.c
@ -27,6 +27,8 @@
|
||||
#define HASH_MARKER "|1|"
|
||||
#define MOVE_AMOUNT 1
|
||||
|
||||
extern int _xev_quit;
|
||||
|
||||
void
|
||||
kbfunc_client_lower(struct client_ctx *cc, void *arg)
|
||||
{
|
||||
@ -488,3 +490,9 @@ kbfunc_client_vmaximize(struct client_ctx *cc, void *arg)
|
||||
{
|
||||
client_vertmaximize(cc);
|
||||
}
|
||||
|
||||
void
|
||||
kbfunc_quit_wm(struct client_ctx *cc, void *arg)
|
||||
{
|
||||
_xev_quit = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user