Re: [AD] [ alleg-Bugs-2052840 ] ALLEGRO_EVENT_DISPLAY_SWITCH_IN |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] [ alleg-Bugs-2052840 ] ALLEGRO_EVENT_DISPLAY_SWITCH_IN
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Sat, 23 Aug 2008 22:21:34 +0200
On Sat, 2008-08-23 at 14:17 -0600, Trent Gamblin wrote:
> On Sat, August 23, 2008 10:58 am, Peter Hull said:
> > Is this event fired when a window switches in (as the name suggests)
> > or when the app does (as AFAICS the windows implementation does)?
> > I've
> > got it doing the former on OS X, so if you flick between two windows
> > you get one switch out and one switch in.
> >
> > Pete
>
> Then you have it implemented correctly, I think.
>
Hm, I did it the other way for X11, i.e. when you switch from one window
in your app to another window in your app, you get a switch out event
for one ALLEGRO_DISPLAY and a switch in for the other one - even though
the app itself of course is always active.
So, how does it work in Windows?
--
Elias Pschernig <elias@xxxxxxxxxx>