ALLEGRO_GTK_TOPLEVEL is only used by the native dialogs addon.
ALLEGRO_MAXIMIZED flag was introduced much later than the native dialogs
addon - so yes, it is not implemented there. If you need a GTK window then
right now it cannot use fullscreen or maximized.

Normal Allegro windows can be maximized though.

On Mon, Jan 30, 2017 at 6:11 PM, Vitaliy T <[email protected]>
wrote:

> Hi,
>
> I am not sure that the information below should be created as an issue on
> github, because its just questions.
>
> I have started "smoking" the issue #725 deeper. The issue is about
> al_set_window_constraints(). Currently I am stuck with using the
> `ALLEGRO_MAXIMIZED` flag under GNU/Linux. Running on my box it is not
> working at all. I commented out some checks that prevents a creation of
> maximized windows, such as the function `_al_xwin_maximize()` from
> `xwindow.c` have. Read code, tried various things and so on.
>
> The ending of all this is that there is only place in whole allegro code
> where `d->resize_count++;` is used. Everything is based around checking the
> field `resize_count`. A place where the field is changing is for
> non-programmable events (i.e. user clicks on buttons and then the field
> would be changed). So, I'm considering that  `ALLEGRO_MAXIMIZED`  is not
> implemented correctly under GNU/Linux at all.
>
> Am I right?
>
> The information above is correct if `ALLEGRO_GTK_TOPLEVEL` set. If this
> flag is not set then there is no code to create maximized window at all. Am
> I right here too?
>
> Thanks!
>
> --
> With Best Regards,
> Vitaliy V. Tokarev
>
> _______________________________________________
> Allegro-developers mailing list
> [email protected]
> https://mail.gna.org/listinfo/allegro-developers
>
>
_______________________________________________
Allegro-developers mailing list
[email protected]
https://mail.gna.org/listinfo/allegro-developers

Reply via email to