hide systray by default

This commit is contained in:
speedie 2022-12-26 22:45:39 +01:00
parent 53d1ad4551
commit 94b89c5d80
5 changed files with 6 additions and 4 deletions

View file

@ -353,7 +353,7 @@ Below is a list of all .Xresources values you can define.
- speedwm.bar.hide.layout: 0
- speedwm.bar.hide.sticky: 0
- speedwm.bar.hide.status: 0
- speedwm.bar.hide.systray: 0
- speedwm.bar.hide.systray: 1
- speedwm.bar.hide.unselected.title: 0
- speedwm.bar.hide.title: 0
- speedwm.bar.hide.icon: 0

View file

@ -19,7 +19,7 @@ speedwm.bar.hide.floating: 0 ! Hide the floating window indicator (0
speedwm.bar.hide.layout: 0 ! Hide the layout indicator (0/1)
speedwm.bar.hide.sticky: 0 ! Hide the sticky indicator (0/1)
speedwm.bar.hide.status: 0 ! Hide the status bar (0/1)
speedwm.bar.hide.systray: 0 ! Hide the systray (0/1)
speedwm.bar.hide.systray: 1 ! Hide the systray (0/1)
speedwm.bar.hide.unselected.title: 0 ! Hide the unselected window title (0/1)
speedwm.bar.hide.title: 0 ! Hide the window title (0/1)
speedwm.bar.hide.icon: 0 ! Hide the window icon (0/1)

View file

@ -128,7 +128,7 @@ static int hideunselectedborder = 1; /* Hide unselected window bor
static int hidestatus = 0; /* Hide status bar (1) or show (0) */
static int hideicon = 0; /* Hide icon (1) or show (0) */
static int hidetags = 0; /* Hide status bar (1) or show (0) */
static int hidesystray = 0; /* Hide systray by default (1) or show (0) */
static int hidesystray = 1; /* Hide systray by default (1) or show (0) */
static int hideemptytags = 1; /* Hide empty tags (1) or show (0) */
static int hidefloating = 0; /* Hide floating indicator (1) or show (0) */
static int hidesticky = 0; /* Hide sticky indicator (1) or show (0) */

View file

@ -698,7 +698,7 @@ speedwm.bar.hide.sticky: 0
.IP \[bu] 2
speedwm.bar.hide.status: 0
.IP \[bu] 2
speedwm.bar.hide.systray: 0
speedwm.bar.hide.systray: 1
.IP \[bu] 2
speedwm.bar.hide.unselected.title: 0
.IP \[bu] 2

View file

@ -4613,6 +4613,8 @@ resizeclient(Client *c, int x, int y, int w, int h)
c->oldw = c->w; c->w = wc.width = w;
c->oldh = c->h; c->h = wc.height = h;
int n;
if (c->beingmoved)
return;