From: Thierry Lorthiois Date: Fri, 30 Jan 2009 22:58:36 +0000 (+0000) Subject: fixed issue 13 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=12a528312b41b057ca90efbec7fb95eb8ddda82b;p=chaz%2Ftint2 fixed issue 13 --- diff --git a/ChangeLog b/ChangeLog index 76ab312..ba42e14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-01-30 +- fixed issue 13 (not sure but it look right) + 2009-01-29 - use panel_margin parameter even with full_width - multi_monitor mode : monitor number are ordered according to coordinate diff --git a/src/panel.c b/src/panel.c index 869f6c2..f2e9746 100644 --- a/src/panel.c +++ b/src/panel.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **************************************************************************/ +#include #include #include #include @@ -196,8 +197,8 @@ Pixmap get_root_pixmap () } } } while (--c > 0); - - //if (ret == None) printf("pas de background\n"); + + if (ret == None) fprintf(stderr, "unknown background\n"); return ret; } @@ -210,7 +211,7 @@ void set_panel_background() panel.area.pix.pmap = XCreatePixmap (server.dsp, server.root_win, panel.area.width, panel.area.height, server.depth); // add layer of root pixmap - XCopyArea (server.dsp, wall, panel.area.pix.pmap, server.gc, server.posx, server.posy, panel.area.width, panel.area.height, 0, 0); + XCopyArea(server.dsp, wall, panel.area.pix.pmap, server.gc, server.posx, server.posy, panel.area.width, panel.area.height, 0, 0); // draw background panel cairo_surface_t *cs; diff --git a/src/tint2 b/src/tint2 index 853b89d..71ec37c 100755 Binary files a/src/tint2 and b/src/tint2 differ