Re: [AD] [ alleg-Bugs-2052840 ] ALLEGRO_EVENT_DISPLAY_SWITCH_IN

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, August 23, 2008 2:21 pm, Elias Pschernig said:
> 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?

Yes, that's how I meant is the right way.

Trent :{)>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/