583 |
SPLITCOLOUR16(colour, pc); |
SPLITCOLOUR16(colour, pc); |
584 |
break; |
break; |
585 |
case 24: |
case 24: |
586 |
|
case 32: |
587 |
SPLITCOLOUR24(colour, pc); |
SPLITCOLOUR24(colour, pc); |
588 |
break; |
break; |
589 |
default: |
default: |
1192 |
is only set for compatible depths, but the RDP depth might've |
is only set for compatible depths, but the RDP depth might've |
1193 |
changed during connection negotiations. |
changed during connection negotiations. |
1194 |
*/ |
*/ |
1195 |
|
|
1196 |
|
/* todo */ |
1197 |
|
if (g_server_depth == 32 && g_depth == 24) |
1198 |
|
{ |
1199 |
|
return data; |
1200 |
|
} |
1201 |
|
|
1202 |
if (g_no_translate_image) |
if (g_no_translate_image) |
1203 |
{ |
{ |
1204 |
if ((g_depth == 15 && g_server_depth == 15) || |
if ((g_depth == 15 && g_server_depth == 15) || |
3452 |
ewmh_set_window_modal(wnd); |
ewmh_set_window_modal(wnd); |
3453 |
} |
} |
3454 |
|
|
3455 |
|
if (flags & SEAMLESSRDP_CREATE_TOPMOST) |
3456 |
|
{ |
3457 |
|
/* Make window always-on-top */ |
3458 |
|
ewmh_set_window_above(wnd); |
3459 |
|
} |
3460 |
|
|
3461 |
/* FIXME: Support for Input Context:s */ |
/* FIXME: Support for Input Context:s */ |
3462 |
|
|
3463 |
get_input_mask(&input_mask); |
get_input_mask(&input_mask); |
3712 |
} |
} |
3713 |
|
|
3714 |
sw_restack_window(sw, behind); |
sw_restack_window(sw, behind); |
3715 |
|
|
3716 |
|
if (flags & SEAMLESSRDP_CREATE_TOPMOST) |
3717 |
|
{ |
3718 |
|
/* Make window always-on-top */ |
3719 |
|
ewmh_set_window_above(sw->wnd); |
3720 |
|
} |
3721 |
} |
} |
3722 |
|
|
3723 |
|
|