763 |
|
|
764 |
g_mod_map = XGetModifierMapping(g_display); |
g_mod_map = XGetModifierMapping(g_display); |
765 |
|
|
766 |
|
xkeymap_init(); |
767 |
|
|
768 |
if (g_enable_compose) |
if (g_enable_compose) |
769 |
g_IM = XOpenIM(g_display, NULL, NULL, NULL); |
g_IM = XOpenIM(g_display, NULL, NULL, NULL); |
770 |
|
|
|
xkeymap_init(); |
|
771 |
xclip_init(); |
xclip_init(); |
772 |
|
|
773 |
/* todo take this out when high colour is done */ |
/* todo take this out when high colour is done */ |
1597 |
case 2: /* Hatch */ |
case 2: /* Hatch */ |
1598 |
fill = (Pixmap) ui_create_glyph(8, 8, |
fill = (Pixmap) ui_create_glyph(8, 8, |
1599 |
hatch_patterns + brush->pattern[0] * 8); |
hatch_patterns + brush->pattern[0] * 8); |
1600 |
SET_FOREGROUND(bgcolour); |
SET_FOREGROUND(fgcolour); |
1601 |
SET_BACKGROUND(fgcolour); |
SET_BACKGROUND(bgcolour); |
1602 |
XSetFillStyle(g_display, g_gc, FillOpaqueStippled); |
XSetFillStyle(g_display, g_gc, FillOpaqueStippled); |
1603 |
XSetStipple(g_display, g_gc, fill); |
XSetStipple(g_display, g_gc, fill); |
1604 |
XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin); |
XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin); |