Revert "Migrated to new location for default layer."

This reverts commit dd43edd7ae8d965483ff2c1b178a5e1d86dc1c52.
This commit is contained in:
Michael Jumper 2011-10-25 17:29:11 -07:00
parent e9b20e37d3
commit 88d7b8ef70
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 = client->default_layer;
guac_client_data->current_surface = GUAC_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,
client->default_layer, srcx, srcy, cx, cy,
GUAC_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 = client->default_layer;
guac_client_data->current_surface = GUAC_DEFAULT_LAYER;
}
else {
guac_client_data->current_surface = surface;