allow multi_desktop even with multi monitors config

git-svn-id: http://tint2.googlecode.com/svn/trunk@104 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-06-08 16:50:14 +00:00
parent 39480ccace
commit d47cfb0761
7 changed files with 18 additions and 19 deletions

View File

@@ -478,7 +478,7 @@ void event_expose (XEvent *e)
void event_configure_notify (Window win)
{
if (panel_mode != SINGLE_MONITOR) return;
if (nb_panel == 1) return;
if (server.nb_monitor == 1) return;
Task *tsk = task_get_task (win);