486 |
rdp_send_client_window_status(int status) |
rdp_send_client_window_status(int status) |
487 |
{ |
{ |
488 |
STREAM s; |
STREAM s; |
489 |
|
static int current_status = 1; |
490 |
|
|
491 |
|
if (current_status == status) |
492 |
|
return; |
493 |
|
|
494 |
s = rdp_init_data(12); |
s = rdp_init_data(12); |
495 |
|
|
509 |
|
|
510 |
s_mark_end(s); |
s_mark_end(s); |
511 |
rdp_send_data(s, RDP_DATA_PDU_CLIENT_WINDOW_STATUS); |
rdp_send_data(s, RDP_DATA_PDU_CLIENT_WINDOW_STATUS); |
512 |
|
current_status = status; |
513 |
} |
} |
514 |
|
|
515 |
/* Send persistent bitmap cache enumeration PDU's */ |
/* Send persistent bitmap cache enumeration PDU's */ |