diff config.h @ 4:a54de16f8277

fix taskbar behavior when exceeding MAX_TASKS; bound moveresize() to windowarea
author paulo@localhost
date Fri, 24 Apr 2009 01:34:17 -0700
parents faa4cb9d7bd6
children 0968b3739b8d
line diff
     1.1 --- a/config.h	Thu Apr 23 02:43:13 2009 -0700
     1.2 +++ b/config.h	Fri Apr 24 01:34:17 2009 -0700
     1.3 @@ -126,11 +126,11 @@
     1.4  	{ MODKEY|ControlMask,		XK_h,		moveresize,		"0X 0y 0w 0h" }, \
     1.5  	{ MODKEY|ControlMask,		XK_l,		moveresize,		"9000X 0y 0w 0h" }, \
     1.6  	{ MODKEY|ControlMask,		XK_j,		moveresize,		"0x 9000Y 0w 0h" }, \
     1.7 -	{ MODKEY|ControlMask,		XK_k,		moveresize,		"0x 15Y 0w 0h" }, \
     1.8 +	{ MODKEY|ControlMask,		XK_k,		moveresize,		"0x 0Y 0w 0h" }, \
     1.9  	{ MODKEY|ShiftMask,		XK_h,		moveresize,		"0x 0y -25w 0h" }, \
    1.10  	{ MODKEY|ShiftMask,		XK_l,		moveresize,		"0x 0y 25w 0h" }, \
    1.11  	{ MODKEY|ShiftMask,		XK_j,		moveresize,		"0x 0y 0w 25h" }, \
    1.12  	{ MODKEY|ShiftMask,		XK_k,		moveresize,		"0x 0y 0w -25h" }, \
    1.13  };
    1.14  
    1.15 -#define MAX_TASKS		10		/* max number of apps in taskbar */
    1.16 +#define MAX_TASKS		13		/* max number of apps in taskbar */