*fix* issue 185
git-svn-id: http://tint2.googlecode.com/svn/trunk@300 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -472,6 +472,13 @@ void set_panel_properties(Panel *p)
|
|||||||
size_hints.min_width = size_hints.max_width = p->area.width;
|
size_hints.min_width = size_hints.max_width = p->area.width;
|
||||||
size_hints.min_height = size_hints.max_height = p->area.height;
|
size_hints.min_height = size_hints.max_height = p->area.height;
|
||||||
XSetWMNormalHints(server.dsp, p->main_win, &size_hints);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user