1325 |
|
|
1326 |
red_weight = blue_weight = green_weight = 0; |
red_weight = blue_weight = green_weight = 0; |
1327 |
|
|
1328 |
|
if (g_server_depth == -1) |
1329 |
|
{ |
1330 |
|
g_server_depth = DisplayPlanes(g_display, DefaultScreen(g_display)); |
1331 |
|
} |
1332 |
|
|
1333 |
pfm = XListPixmapFormats(g_display, &pixmap_formats_count); |
pfm = XListPixmapFormats(g_display, &pixmap_formats_count); |
1334 |
if (pfm == NULL) |
if (pfm == NULL) |
1335 |
{ |
{ |
1349 |
for (i = 0; i < visuals_count; ++i) |
for (i = 0; i < visuals_count; ++i) |
1350 |
{ |
{ |
1351 |
XVisualInfo *visual_info = &vmatches[i]; |
XVisualInfo *visual_info = &vmatches[i]; |
1352 |
|
BOOL can_translate_to_bpp = False; |
1353 |
|
int j; |
1354 |
|
|
1355 |
/* Try to find a no-translation visual that'll |
/* Try to find a no-translation visual that'll |
1356 |
allow us to use RDP bitmaps directly as ZPixmaps. */ |
allow us to use RDP bitmaps directly as ZPixmaps. */ |
1394 |
|
|
1395 |
/* Only care for visuals, for whose BPPs (not depths!) |
/* Only care for visuals, for whose BPPs (not depths!) |
1396 |
we have a translateXtoY function. */ |
we have a translateXtoY function. */ |
|
BOOL can_translate_to_bpp = False; |
|
|
int j; |
|
1397 |
for (j = 0; j < pixmap_formats_count; ++j) |
for (j = 0; j < pixmap_formats_count; ++j) |
1398 |
{ |
{ |
1399 |
if (pfm[j].depth == visual_info->depth) |
if (pfm[j].depth == visual_info->depth) |
1641 |
sw_remove_window(g_seamless_windows); |
sw_remove_window(g_seamless_windows); |
1642 |
} |
} |
1643 |
|
|
1644 |
|
xclip_deinit(); |
1645 |
|
|
1646 |
if (g_IM != NULL) |
if (g_IM != NULL) |
1647 |
XCloseIM(g_IM); |
XCloseIM(g_IM); |
1648 |
|
|