fixed snapshot command (-s). more needed.
git-svn-id: http://tint2.googlecode.com/svn/trunk@404 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
#include "server.h"
|
||||
#include "config.h"
|
||||
#include "window.h"
|
||||
#include "task.h"
|
||||
#include "panel.h"
|
||||
@@ -190,8 +191,8 @@ void init_panel()
|
||||
//printf("panel %d : %d, %d, %d, %d\n", i, p->posx, p->posy, p->area.width, p->area.height);
|
||||
set_panel_properties(p);
|
||||
set_panel_background(p);
|
||||
if (i >= old_nb_panel) {
|
||||
// map new panel
|
||||
if (i >= old_nb_panel && snapshot_path == 0) {
|
||||
// if we are not in 'snapshot' mode then map new panel
|
||||
XMapWindow (server.dsp, p->main_win);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user