all repos — tint2 @ 1d88864c0c7f78f0ac7e20c0a34510f1c8f48b19

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

fixed issue 13

git-svn-id: http://tint2.googlecode.com/svn/trunk@30 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
lorthiois@bbsoft.fr lorthiois@bbsoft.fr@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

1d88864c0c7f78f0ac7e20c0a34510f1c8f48b19

parent

f0adc5c7d0af40a5987b56fa1afb3b5264c3040d

3 files changed, 7 insertions(+), 3 deletions(-)

jump to
M ChangeLogChangeLog

@@ -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
M src/panel.csrc/panel.c

@@ -16,6 +16,7 @@ * along with this program; if not, write to the Free Software

* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **************************************************************************/ +#include <stdio.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xatom.h>

@@ -196,8 +197,8 @@ break;

} } } 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 @@ if (panel.area.pix.pmap) XFreePixmap (server.dsp, panel.area.pix.pmap);

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;