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:
simon
2008-04-07 23:47:09 +00:00
parent cb2cc70c3f
commit 0f18223042
5 changed files with 18 additions and 4 deletions

View File

@ -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;
}