aewl

changeset 559:a2c465098a3b 2.1

renamed resizecol into resizemaster
author arg@mig29
date Tue, 31 Oct 2006 12:07:32 +0100
parents e249e2952a32
children 349ba0dc3fa7
files config.arg.h config.default.h dwm.h view.c
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/config.arg.h	Tue Oct 31 12:06:38 2006 +0100
     1.2 +++ b/config.arg.h	Tue Oct 31 12:07:32 2006 +0100
     1.3 @@ -33,8 +33,8 @@
     1.4  	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
     1.5  	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
     1.6  	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
     1.7 -	{ MODKEY,			XK_g,		resizecol,	{ .i = 15 } }, \
     1.8 -	{ MODKEY,			XK_s,		resizecol,	{ .i = -15 } }, \
     1.9 +	{ MODKEY,			XK_g,		resizemaster,	{ .i = 15 } }, \
    1.10 +	{ MODKEY,			XK_s,		resizemaster,	{ .i = -15 } }, \
    1.11  	{ MODKEY|ShiftMask,		XK_1,		tag,		{ .i = 0 } }, \
    1.12  	{ MODKEY|ShiftMask,		XK_2,		tag,		{ .i = 1 } }, \
    1.13  	{ MODKEY|ShiftMask,		XK_3,		tag,		{ .i = 2 } }, \
     2.1 --- a/config.default.h	Tue Oct 31 12:06:38 2006 +0100
     2.2 +++ b/config.default.h	Tue Oct 31 12:07:32 2006 +0100
     2.3 @@ -28,8 +28,8 @@
     2.4  	{ MODKEY,			XK_Tab,		focusnext,	{ 0 } }, \
     2.5  	{ MODKEY|ShiftMask,		XK_Tab,		focusprev,	{ 0 } }, \
     2.6  	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
     2.7 -	{ MODKEY,			XK_g,		resizecol,	{ .i = 15 } }, \
     2.8 -	{ MODKEY,			XK_s,		resizecol,	{ .i = -15 } }, \
     2.9 +	{ MODKEY,			XK_g,		resizemaster,	{ .i = 15 } }, \
    2.10 +	{ MODKEY,			XK_s,		resizemaster,	{ .i = -15 } }, \
    2.11  	{ MODKEY|ShiftMask,		XK_1,		tag,		{ .i = 0 } }, \
    2.12  	{ MODKEY|ShiftMask,		XK_2,		tag,		{ .i = 1 } }, \
    2.13  	{ MODKEY|ShiftMask,		XK_3,		tag,		{ .i = 2 } }, \
     3.1 --- a/dwm.h	Tue Oct 31 12:06:38 2006 +0100
     3.2 +++ b/dwm.h	Tue Oct 31 12:07:32 2006 +0100
     3.3 @@ -161,7 +161,7 @@
     3.4  extern void focusnext(Arg *arg);		/* focuses next visible client, arg is ignored  */
     3.5  extern void focusprev(Arg *arg);		/* focuses previous visible client, arg is ignored */
     3.6  extern Bool isvisible(Client *c);		/* returns True if client is visible */
     3.7 -extern void resizecol(Arg *arg);		/* resizes the master percent with arg's index value */
     3.8 +extern void resizemaster(Arg *arg);		/* resizes the master percent with arg's index value */
     3.9  extern void restack(void);			/* restores z layers of all clients */
    3.10  extern void togglemode(Arg *arg);		/* toggles global arrange function (dotile/dofloat) */
    3.11  extern void toggleview(Arg *arg);		/* toggles the tag with arg's index (in)visible */
     4.1 --- a/view.c	Tue Oct 31 12:06:38 2006 +0100
     4.2 +++ b/view.c	Tue Oct 31 12:07:32 2006 +0100
     4.3 @@ -195,7 +195,7 @@
     4.4  }
     4.5  
     4.6  void
     4.7 -resizecol(Arg *arg) {
     4.8 +resizemaster(Arg *arg) {
     4.9  	if(master + arg->i > 950 || master + arg->i < 50)
    4.10  		return;
    4.11  	master += arg->i;