some changed in tint2conf theme switcher. not yet ready.

git-svn-id: http://tint2.googlecode.com/svn/trunk@406 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-03-28 22:50:26 +00:00
parent 8afbb566a2
commit 5309f43eef
4 changed files with 393 additions and 87 deletions

View File

@@ -170,7 +170,6 @@ void get_snapshot(const char *path)
panel->area.width = server.monitor[0].width;
panel->temp_pmap = XCreatePixmap(server.dsp, server.root_win, panel->area.width, panel->area.height, server.depth);
refresh(&panel->area);
Imlib_Image img = NULL;
@@ -180,6 +179,7 @@ void get_snapshot(const char *path)
imlib_context_set_image(img);
imlib_save_image(path);
imlib_free_image();
XFreePixmap(server.dsp, panel->temp_pmap);
}