sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

tabbed-bar-height-0.6.diff (1057B)


      1 diff --color -up tabbed-0.6-clean/config.def.h tabbed-0.6-modified/config.def.h
      2 --- tabbed-0.6-clean/config.def.h	2014-01-21 10:22:03.000000000 -0800
      3 +++ tabbed-0.6-modified/config.def.h	2021-03-30 20:23:45.752478278 -0700
      4 @@ -10,7 +10,7 @@ static const char before[]      = "<";
      5  static const char after[]       = ">";
      6  static const int  tabwidth      = 200;
      7  static const Bool foreground    = True;
      8 -
      9 +static const int barHeight	= 24;
     10  /*
     11   * Where to place a new tab when it is opened. When npisrelative is True,
     12   * then the current position is changed + newposition. If npisrelative
     13 diff --color -up tabbed-0.6-clean/tabbed.c tabbed-0.6-modified/tabbed.c
     14 --- tabbed-0.6-clean/tabbed.c	2014-01-21 10:22:03.000000000 -0800
     15 +++ tabbed-0.6-modified/tabbed.c	2021-03-30 20:24:23.712477426 -0700
     16 @@ -920,7 +920,7 @@ setup(void) {
     17  	screen = DefaultScreen(dpy);
     18  	root = RootWindow(dpy, screen);
     19  	initfont(font);
     20 -	bh = dc.h = dc.font.height + 2;
     21 +	bh = dc.h = barHeight;
     22  
     23  	/* init atoms */
     24  	wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);