651 |
* The server may limit bpp and change the size of the desktop (for |
* The server may limit bpp and change the size of the desktop (for |
652 |
* example when shadowing another session). |
* example when shadowing another session). |
653 |
*/ |
*/ |
654 |
g_server_bpp = bpp; |
if (g_server_bpp != bpp) |
655 |
g_width = width; |
{ |
656 |
g_height = height; |
warning("colour depth changed from %d to %d\n", g_server_bpp, bpp); |
657 |
|
g_server_bpp = bpp; |
658 |
ui_resize_window(); |
} |
659 |
|
if (g_width != width || g_height != height) |
660 |
|
{ |
661 |
|
warning("screen size changed from %dx%d to %dx%d\n", g_width, g_height, |
662 |
|
width, height); |
663 |
|
g_width = width; |
664 |
|
g_height = height; |
665 |
|
ui_resize_window(); |
666 |
|
} |
667 |
} |
} |
668 |
|
|
669 |
/* Respond to a demand active PDU */ |
/* Respond to a demand active PDU */ |