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 |
{ |
{ |
3473 |
} |
} |
3474 |
|
|
3475 |
|
|
3476 |
|
void |
3477 |
|
ui_seamless_destroy_group(unsigned long id, unsigned long flags) |
3478 |
|
{ |
3479 |
|
seamless_window *sw, *sw_next; |
3480 |
|
|
3481 |
|
if (!g_seamless_active) |
3482 |
|
return; |
3483 |
|
|
3484 |
|
for (sw = g_seamless_windows; sw; sw = sw_next) |
3485 |
|
{ |
3486 |
|
sw_next = sw->next; |
3487 |
|
|
3488 |
|
if (sw->group->id == id) |
3489 |
|
{ |
3490 |
|
XDestroyWindow(g_display, sw->wnd); |
3491 |
|
sw_remove_window(sw); |
3492 |
|
} |
3493 |
|
} |
3494 |
|
} |
3495 |
|
|
3496 |
|
|
3497 |
void |
void |
3498 |
ui_seamless_move_window(unsigned long id, int x, int y, int width, int height, unsigned long flags) |
ui_seamless_move_window(unsigned long id, int x, int y, int width, int height, unsigned long flags) |
3499 |
{ |
{ |