Revert "Migrated to new location for default layer."
This reverts commit dd43edd7ae8d965483ff2c1b178a5e1d86dc1c52.
This commit is contained in:
parent
e9b20e37d3
commit
88d7b8ef70
@ -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->rdp_inst = rdp_inst;
|
||||||
guac_client_data->mouse_button_mask = 0;
|
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 */
|
/* Store client data */
|
||||||
|
@ -403,7 +403,7 @@ void guac_rdp_ui_screenblt(rdpInst* inst, uint8 opcode, int x, int y, int cx, in
|
|||||||
GUACIO* io = client->io;
|
GUACIO* io = client->io;
|
||||||
|
|
||||||
guac_send_copy(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);
|
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_send_size(io, inst->settings->width, inst->settings->height);
|
||||||
guac_flush(io);
|
guac_flush(io);
|
||||||
|
|
||||||
guac_client_data->current_surface = client->default_layer;
|
guac_client_data->current_surface = GUAC_DEFAULT_LAYER;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
guac_client_data->current_surface = surface;
|
guac_client_data->current_surface = surface;
|
||||||
|
Loading…
Reference in New Issue
Block a user