Re: [AD] Adding a preferred window adapter parameter for going fullscreen window |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: allegro-developers@xxxxxxxxxx
- Subject: Re: [AD] Adding a preferred window adapter parameter for going fullscreen window
- From: SiegeLord <siegelordex@xxxxxxxxxx>
- Date: Sun, 27 Nov 2016 17:46:20 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=JMHPh6odyr8ZPBkW7t0OcYqCuUkzRjGWDJqEl3WR4Tg=; b=QZLE4b/6kazB/1aUHfUDHcxkaICrROFbQ58cNyJlJ4AbSTqrAfTUJ/Ru9zgNePRKhc 0gkFF1nPeRg7/vrVjq12zGZelXtYu8N+aVqHbx2OT4kkHn5Ekp7zMGYtL4Ny9j25GDBb dizC7dkwpjsql2yCti82aViDz60HvPM8mhvLZhmBRubknAUySKXY2OWf/dGa8wgaaOyg 7qiPZA3843UVgjls78v2pkzYBuGm7CT0sUwpdGKT2UzBPArD7fxecY6JmaJ7fqSJ/A2h hYGKhMPZx9LKxb/pI+zAMfFCnGE50X9QO2idrntxycXgo+jJCc2CW7nSG9w7e5DnJUpk gYPQ==
On 11/27/2016 12:50 PM, Edgar Reynaldo wrote:
It's not the unmaximize behavior, it's the switch from fullscreen window
to window (al_set_display_flag(display , ALLEGRO_FULLSCREEN_WINDOW ,
false). The restore behavior (al_set_display_flag(display ,
ALLEGRO_MAXIMIZE , false) works fine. There is code in there to
deliberately center the window on the display, ignoring the previous
position of the window.
Whoops. Still think it's a bug, as this doesn't happen on Linux.
Question : Wouldn't adding a member to the WIN_DISPLAY_DRIVER struct
mess with ABI compatibility?
No, it's not part of the public ABI, so it's fine to change as you want.
-SL