improved multi-monitor detection. need more work.
git-svn-id: http://tint2.googlecode.com/svn/trunk@222 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -138,7 +138,7 @@ void init_panel()
|
||||
|
||||
if (i >= old_nb_panel) {
|
||||
// new panel
|
||||
//printf("new window\n");
|
||||
printf("new panel %d, %d, %d, %d\n", p->posx, p->posy, p->area.width, p->area.height);
|
||||
|
||||
// Catch some events
|
||||
long event_mask = ExposureMask|ButtonPressMask|ButtonReleaseMask;
|
||||
@@ -154,7 +154,7 @@ void init_panel()
|
||||
}
|
||||
else {
|
||||
// old panel
|
||||
//printf("move old window\n");
|
||||
printf("old panel %d, %d, %d, %d\n", p->posx, p->posy, p->area.width, p->area.height);
|
||||
XMoveResizeWindow(server.dsp, p->main_win, p->posx, p->posy, p->area.width, p->area.height);
|
||||
set_panel_background(p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user