*fix* panel_monitor = n works again, after I've broken it with revision 308
*add* convenience storage for tasks in a hash map (Window is mapped to a GPtrArray of Task*) *fix* bugfix in resize_taskbar when task.area.width/height changes git-svn-id: http://tint2.googlecode.com/svn/trunk@332 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -81,6 +81,12 @@ void init_panel()
|
||||
int i, old_nb_panel;
|
||||
Panel *new_panel, *p;
|
||||
|
||||
if (panel_config.monitor > (server.nb_monitor-1)) {
|
||||
// server.nb_monitor minimum value is 1 (see get_monitors())
|
||||
fprintf(stderr, "warning : monitor not found. tint2 default to all monitors.\n");
|
||||
panel_config.monitor = 0;
|
||||
}
|
||||
|
||||
init_tooltip();
|
||||
init_systray();
|
||||
init_clock();
|
||||
|
||||
Reference in New Issue
Block a user