diff options
| author | ne_mene <[email protected]> | 2026-03-01 21:33:52 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-01 21:33:52 +0100 |
| commit | 66625e33aa2a4b1eedb4e2a46d2092999d8d9da4 (patch) | |
| tree | 64d03d16538f645411e48c4b0ee72aeda01409a0 /src/tsar.c | |
| parent | 8ed3b9bfb2108ec51121160533e8bd93b356cc98 (diff) | |
| parent | 02c3289e75fa3926916465a47bbc0b889d105c4f (diff) | |
scary merge
Diffstat (limited to 'src/tsar.c')
| -rw-r--r-- | src/tsar.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -7,6 +7,7 @@ #include <X11/Xft/Xft.h> #include <X11/Xlib.h> +#include <X11/Xatom.h> #include "pipe.h" #include "bardata.h" @@ -75,7 +76,13 @@ void init_x(void) { &win_attr ); - XMapRaised(display, win); + XClassHint class_hint; + class_hint.res_name = "tsarbar"; + class_hint.res_class = "Bar"; + + XSetClassHint(display, win, &class_hint); + + XMapWindow(display, win); load_font("monospace:size=10"); |
