[AD] [alleg:bugs] #371 ALLEGRO_FULLSCREEN leaves a small part undrawn |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Well, uncommenting out line 396 on xdisplay.c seems to fix this, but I don't really know why that was commented out in the first place and it's been commented out in the code for a long while. I'm not sure but I think it's due to the NET_WM_STATE_FULLSCREEN hint not being set since that will get set during ALLEGRO_FULLSCREEN_WINDOW but not during ALLEGRO_FULLSCREEN due to that line commented out.
Attachment: uncomment_fullscreen_window.diff (555 Bytes; text/x-patch)
[bugs:#371] ALLEGRO_FULLSCREEN leaves a small part undrawn
Status: open
Group: 5.1
Created: Wed Nov 21, 2012 02:47 PM UTC by Jehan
Last Updated: Wed Nov 21, 2012 02:48 PM UTC
Owner: nobody
If I al_set_new_display_flags(ALLEGRO_FULLSCREEN) then create a display, it has fullscreen features (on Linux, alt-tab does not switch to background windows for instance) but displays "nearly" fullscreen.
See attached screenshot, using released allegro 5.1.2, on a Mageia 2, Linux 64 bits.
Note that if I use ALLEGRO_FULLSCREEN_WINDOW instead, it works well (all screen is black-ed), but I miss the other features of real fullscreen (no alt-tab, etc.).
Sent from sourceforge.net because alleg-developers@xxxxxxxxxx is subscribed to https://sourceforge.net/p/alleg/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alleg/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |