We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 159

Summary: SDL window lost focus on WinCE
Product: SDL Reporter: Dmitry Yakimov <support>
Component: eventsAssignee: Dmitry Yakimov <support>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: x86   
OS: Windows (CE)/PocketPC   

Description Dmitry Yakimov 2006-03-10 05:51:55 UTC
I'm using SDL library on Pocket PC (Acer n30, Arm). I have created a window
(240x320 fullscreen) and I have drawn to it. Everything has worked. But, when
I have connected e.g. USB to RS485 converter to the USB host port (firsttime)
the Pocket PC has opened the dialog box and asked for the driver name. This
dialog box was under my SDL window. My problem is, that this dialog box got
the focus and my SDL window lost it and I'm not able to got the focus back. I
have seen the SDL window, but I can't e.g. push the button on it.

I there any posibility, to catch any "focusing" event or to focus the SDL window.

I have tryed SDL_ACTIVEEVENT but I didn't catch the event.
Comment 1 Sam Lantinga 2006-03-11 18:47:27 UTC
This was fixed by the patch in bug #160