Fix task visilibility problem, issue 481
git-svn-id: http://tint2.googlecode.com/svn/trunk@750 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
75f8a07ca4
commit
e49e05ad69
1 changed files with 2 additions and 1 deletions
|
@ -554,7 +554,8 @@ void set_task_state(Task *tsk, int state)
|
|||
hide = 1;
|
||||
}
|
||||
}
|
||||
if (window_get_monitor(tsk->win) != ((Panel*)tsk->area.panel)->monitor) {
|
||||
if (window_get_monitor(tsk->win) != ((Panel*)tsk->area.panel)->monitor &&
|
||||
(hide_task_diff_monitor || nb_panel > 1)) {
|
||||
hide = 1;
|
||||
}
|
||||
if (1 - hide != tsk1->area.on_screen) {
|
||||
|
|
Loading…
Reference in a new issue