aewl

diff event.c @ 113:b2445fd41f5e

applied Jukka's patch with s/ModKeyMask/MODKEY/g
author arg@10ksloc.org
date Wed, 19 Jul 2006 16:38:39 +0200
parents 2a1879e05d5a
children dfa5cd0969a6
line diff
     1.1 --- a/event.c	Wed Jul 19 15:03:53 2006 +0200
     1.2 +++ b/event.c	Wed Jul 19 16:38:39 2006 +0200
     1.3 @@ -26,30 +26,30 @@
     1.4  	{ ControlMask,			XK_1,		appendtag,	{ .i = Tdev } }, 
     1.5  	{ ControlMask,			XK_2,		appendtag,	{ .i = Twww } }, 
     1.6  	{ ControlMask,			XK_3,		appendtag,	{ .i = Twork } }, 
     1.7 -	{ Mod1Mask,				XK_0,		view,		{ .i = Tscratch } }, 
     1.8 -	{ Mod1Mask,				XK_1,		view,		{ .i = Tdev } }, 
     1.9 -	{ Mod1Mask,				XK_2,		view,		{ .i = Twww } }, 
    1.10 -	{ Mod1Mask,				XK_3,		view,		{ .i = Twork } }, 
    1.11 -	{ Mod1Mask,				XK_j,		focusnext,		{ 0 } }, 
    1.12 -	{ Mod1Mask,				XK_k,		focusprev,		{ 0 } },
    1.13 -	{ Mod1Mask,				XK_m,		maximize,		{ 0 } }, 
    1.14 -	{ Mod1Mask,				XK_space,	dotile,		{ 0 } }, 
    1.15 -	{ Mod1Mask,				XK_Return,	zoom,		{ 0 } },
    1.16 +	{ MODKEY,				XK_0,		view,		{ .i = Tscratch } }, 
    1.17 +	{ MODKEY,				XK_1,		view,		{ .i = Tdev } }, 
    1.18 +	{ MODKEY,				XK_2,		view,		{ .i = Twww } }, 
    1.19 +	{ MODKEY,				XK_3,		view,		{ .i = Twork } }, 
    1.20 +	{ MODKEY,				XK_j,		focusnext,		{ 0 } }, 
    1.21 +	{ MODKEY,				XK_k,		focusprev,		{ 0 } },
    1.22 +	{ MODKEY,				XK_m,		maximize,		{ 0 } }, 
    1.23 +	{ MODKEY,				XK_space,	dotile,		{ 0 } }, 
    1.24 +	{ MODKEY,				XK_Return,	zoom,		{ 0 } },
    1.25  	{ ControlMask|ShiftMask,XK_0,		heretag,	{ .i = Tscratch } }, 
    1.26  	{ ControlMask|ShiftMask,XK_1,		heretag,	{ .i = Tdev } }, 
    1.27  	{ ControlMask|ShiftMask,XK_2,		heretag,	{ .i = Twww } }, 
    1.28  	{ ControlMask|ShiftMask,XK_3,		heretag,	{ .i = Twork } }, 
    1.29 -	{ Mod1Mask|ShiftMask,	XK_0,		replacetag,		{ .i = Tscratch } }, 
    1.30 -	{ Mod1Mask|ShiftMask,	XK_1,		replacetag,		{ .i = Tdev } }, 
    1.31 -	{ Mod1Mask|ShiftMask,	XK_2,		replacetag,		{ .i = Twww } }, 
    1.32 -	{ Mod1Mask|ShiftMask,	XK_3,		replacetag,		{ .i = Twork } }, 
    1.33 -	{ Mod1Mask|ShiftMask,	XK_c,		killclient,		{ 0 } }, 
    1.34 -	{ Mod1Mask|ShiftMask,	XK_g,		spawn,		{ .argv = gimp } },
    1.35 -	{ Mod1Mask|ShiftMask,	XK_l,		spawn,		{ .argv = xlock } },
    1.36 -	{ Mod1Mask|ShiftMask,	XK_q,		quit,		{ 0 } },
    1.37 -	{ Mod1Mask|ShiftMask,	XK_space,	dofloat,	{ 0 } }, 
    1.38 -	{ Mod1Mask|ShiftMask,	XK_w,		spawn,		{ .argv = browse } },
    1.39 -	{ Mod1Mask|ShiftMask,	XK_Return,	spawn,		{ .argv = term } },
    1.40 +	{ MODKEY|ShiftMask,		XK_0,		replacetag,		{ .i = Tscratch } }, 
    1.41 +	{ MODKEY|ShiftMask,		XK_1,		replacetag,		{ .i = Tdev } }, 
    1.42 +	{ MODKEY|ShiftMask,		XK_2,		replacetag,		{ .i = Twww } }, 
    1.43 +	{ MODKEY|ShiftMask,		XK_3,		replacetag,		{ .i = Twork } }, 
    1.44 +	{ MODKEY|ShiftMask,		XK_c,		killclient,		{ 0 } }, 
    1.45 +	{ MODKEY|ShiftMask,		XK_g,		spawn,		{ .argv = gimp } },
    1.46 +	{ MODKEY|ShiftMask,		XK_l,		spawn,		{ .argv = xlock } },
    1.47 +	{ MODKEY|ShiftMask,		XK_q,		quit,		{ 0 } },
    1.48 +	{ MODKEY|ShiftMask,		XK_space,	dofloat,	{ 0 } }, 
    1.49 +	{ MODKEY|ShiftMask,		XK_w,		spawn,		{ .argv = browse } },
    1.50 +	{ MODKEY|ShiftMask,		XK_Return,	spawn,		{ .argv = term } },
    1.51  };
    1.52  
    1.53  /* static */