Migrated to new location for default layer.

This commit is contained in:
Michael Jumper 2011-10-23 23:34:53 -07:00
parent 31268c3f6c
commit e9b20e37d3
2 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
}
guac_client_data->rdp_inst = rdp_inst;
guac_client_data->mouse_button_mask = 0;
guac_client_data->current_surface = GUAC_DEFAULT_LAYER;
guac_client_data->current_surface = client->default_layer;
/* Store client data */

View File

@ -403,7 +403,7 @@ void guac_rdp_ui_screenblt(rdpInst* inst, uint8 opcode, int x, int y, int cx, in
GUACIO* io = client->io;
guac_send_copy(io,
GUAC_DEFAULT_LAYER, srcx, srcy, cx, cy,
client->default_layer, srcx, srcy, cx, cy,
GUAC_COMP_OVER, current_surface, x, y);
}
@ -596,7 +596,7 @@ void guac_rdp_ui_set_surface(rdpInst* inst, RD_HBITMAP surface) {
guac_send_size(io, inst->settings->width, inst->settings->height);
guac_flush(io);
guac_client_data->current_surface = GUAC_DEFAULT_LAYER;
guac_client_data->current_surface = client->default_layer;
}
else {
guac_client_data->current_surface = surface;