all repos — tint2 @ c78d7fa595d1d83be791df774f83893722ca2c66

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

*fix* issue 185


git-svn-id: http://tint2.googlecode.com/svn/trunk@300 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

c78d7fa595d1d83be791df774f83893722ca2c66

parent

cd00bee9862646f5481d5954054cde9423c6a91f

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M src/panel.csrc/panel.c

@@ -472,6 +472,13 @@ size_hints.flags = PPosition|PMinSize|PMaxSize;

size_hints.min_width = size_hints.max_width = p->area.width; size_hints.min_height = size_hints.max_height = p->area.height; XSetWMNormalHints(server.dsp, p->main_win, &size_hints); + + // Set WM_CLASS + XClassHint* classhint = XAllocClassHint(); + classhint->res_name = "tint2"; + classhint->res_class = "Tint2"; + XSetClassHint(server.dsp, p->main_win, classhint); + XFree(classhint); }