fixed issue 13
git-svn-id: http://tint2.googlecode.com/svn/trunk@30 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
f0adc5c7d0
commit
1d88864c0c
3 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
* 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 @@ 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;
|
||||
|
|
BIN
src/tint2
BIN
src/tint2
Binary file not shown.
Loading…
Reference in a new issue