diff --git a/src/bar.c b/src/bar.c index 3a4a51d..cf6091c 100644 --- a/src/bar.c +++ b/src/bar.c @@ -37,10 +37,10 @@ * \param x X position * \param y Y position * \param w BarWindow Width - * \param h BarWindow HeightXS + * \param h BarWindow Height * \param color BarWindow color * \param entermask Bool for know if the EnterMask mask is needed - * \return The new BarWindow pointer + * \return The BarWindow pointer */ BarWindow* bar_create(Window parent, diff --git a/src/infobar.c b/src/infobar.c index 8525bc9..be31bdc 100644 --- a/src/infobar.c +++ b/src/infobar.c @@ -88,7 +88,8 @@ infobar_draw(void) draw_text(infobar->bar->dr, MAXW - textw(infobar->statustext), font->height, - conf.colors.text, 0, infobar->statustext); + conf.colors.text, 0, + infobar->statustext); bar_refresh(infobar->bar); diff --git a/src/layout.c b/src/layout.c index 8adf90e..d05f98f 100644 --- a/src/layout.c +++ b/src/layout.c @@ -109,32 +109,6 @@ layoutswitch(Bool b) return; } -/** Tile layout switching function - * \param b Bool True : next False : previous -*/ -void -layout_tile_switch(Bool b) -{ - int i; - - for(i = 0; i < conf.ntilelayout; ++i) - { - if(tags[seltag].layout.func == conf.layout[i].func - && (conf.layout[i].func != freelayout - && conf.layout[i].func != maxlayout)) - { - if(b) - tags[seltag].layout = conf.layout[(i + 1) % conf.ntilelayout]; - else - tags[seltag].layout = conf.layout[(i + conf.ntilelayout - 1) % conf.ntilelayout]; - break; - } - } - arrange(); - - return; -} - /** Set the next layout * \param cmd uicb_t type unused */ diff --git a/src/wmfs.h b/src/wmfs.h index ce56b20..8281f70 100644 --- a/src/wmfs.h +++ b/src/wmfs.h @@ -187,7 +187,6 @@ void uicb_tagtransfert(uicb_t); void arrange(void); void freelayout(void); void layoutswitch(Bool b); -void layout_tile_switch(Bool b); void maxlayout(void); Client *nexttiled(Client *c); /* tile {{{ */