summaryrefslogtreecommitdiffstats
path: root/xup
diff options
context:
space:
mode:
Diffstat (limited to 'xup')
-rw-r--r--xup/xup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 27063366..5320a3c9 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -534,6 +534,7 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s)
int width;
int height;
int fgcolor;
+ int bgcolor;
int opcode;
char *bmpdata;
char cur_data[32 * (32 * 3)];
@@ -594,6 +595,10 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s)
in_uint32_le(s, fgcolor);
rv = mod->server_set_fgcolor(mod, fgcolor);
break;
+ case 13: /* server_set_bgcolor */
+ in_uint32_le(s, bgcolor);
+ rv = mod->server_set_bgcolor(mod, bgcolor);
+ break;
case 14:
in_uint16_le(s, opcode);
rv = mod->server_set_opcode(mod, opcode);