[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx> writes:
> Maybe Allegro could try setting the requested resolution, retrieve the
> window size afterwards, and return error for set_gfx_mode if the sizes
> don't match? It would look a little bit weird though, a window may flash
> for a moment, and it would be frustrating for people with manual window
> placement.
I don't think it is necessary. Window is still usable, it is just
larger than what program expected, but program can use only part of
the window. We can make lower limit to be 1x1. Upper limit is also
arificial, from Xlib point of view, anything up to 32767x32767 should
be safe, if X server can create windows of that size.
--
Michael Bukin