Corrected SET_FOREGROUND/SET_BACKGROUND in Hatch handling routine.
This should be done according to patch 688390, and feels right, although I basically have no idea of what I'm doing :-) git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@486 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
053e3e0eec
commit
1aa4de5ab0
4
xwin.c
4
xwin.c
@ -1596,8 +1596,8 @@ ui_patblt(uint8 opcode,
|
|||||||
case 2: /* Hatch */
|
case 2: /* Hatch */
|
||||||
fill = (Pixmap) ui_create_glyph(8, 8,
|
fill = (Pixmap) ui_create_glyph(8, 8,
|
||||||
hatch_patterns + brush->pattern[0] * 8);
|
hatch_patterns + brush->pattern[0] * 8);
|
||||||
SET_FOREGROUND(bgcolour);
|
SET_FOREGROUND(fgcolour);
|
||||||
SET_BACKGROUND(fgcolour);
|
SET_BACKGROUND(bgcolour);
|
||||||
XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
|
XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
|
||||||
XSetStipple(g_display, g_gc, fill);
|
XSetStipple(g_display, g_gc, fill);
|
||||||
XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
|
XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
|
||||||
|
Loading…
Reference in New Issue
Block a user