Re: [hatari-devel] Feedback SDL2 support |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Feedback SDL2 support
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Thu, 22 Oct 2015 05:53:58 -0600 (MDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telus.net; s=neo; t=1445514838; bh=KOJ2k5+ZEUoAPh9DwwsdMW2AaYCn4y9Q8Wx6Z2yoIdo=; h=Date:From:To:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding; b=0njaNihY/sAE0GHGTQQgskTmY4ECsxUWjYePtMsE8Yre2zRexuSO1sbM0pAGqEjMr dmypAI5lqCb/Vu729+yKFHJlajaWllLc8gh1wgH4jD9Azb/RQWWbLphaQPf/DbHW2v aGOIcKt8g2sl/zNz0KcPCjOEIT3YSM+CQeyHQy+KP5e+ggy46mYbrcI1foOvxUCNrL 1l7HdS0ROeLGOjF701MIWEDVFjd6H90Cmy9i7kX9lV0GqDhgn/wkBzfv5Mp4xpYqcO lH0Z3wvQ3p7XLNfRdTI9Y3U3pgE6bQBS8eBw3ATQ57tgUBpQzW9ey33iRhdn9gwvS6 n1Am55KxBUGLA==
- Thread-index: 7f9td2QrPNyEaLU3QJhDK4M0C7s0+APOPLvzTiLoartUcssGvfGsJCcj
- Thread-topic: Feedback SDL2 support
----- David Savinkoff wrote:
> ----- David Savinkoff wrote:
> > ----- David Savinkoff wrote:
> > > ----- David Savinkoff wrote:
> > > > ----- Thomas Huth wrote:
> > > > > Am Sun, 24 May 2015 14:36:26 -0600 (MDT)
> > > > >
> > > > > Hi David,
> > > > >
> > > > > sorry for the very late reply, ... finally I had some spare minutes to
> > > > > look into this...
> > > > >
> > > > > schrieb David Savinkoff:
> > > > >
> > > > > > ----- David Savinkoff wrote:
> > > > > > >
> > > > > > > When I toggle SDL2 fullscreen <F11>, the mouse cursor gets
> > > > > > > repositioned because of the different screen sizes. The mouse
> > > > > > > cursor doesn't always get repositioned in a manner that I
> > > > > > > understand... probably in an incorrect manner. This probably causes
> > > > > > > the host computer to change 'window focus' when changing the screen
> > > > > > > sizes; giving bogus coordinates and wreaking havoc.
> > > > > > >
> > >
> > > Hi Thomas,
> > >
> > > Here is a patch that gets Fullsrceen/Windowed toggling (F11)
> > > to work significantly better on my CentOS 5 computer. The
> > > FULLSCREEN and BORDERLESS flags are necessary to fix
> > > two separate problems.
> > >
> > > Please try this patch on your system to investigate how
> > > things change for you.
> > >
> > > Thank You,
> > > David Savinkoff
> >
> > Hi Again,
> >
> > This new patch works even better (instead of the previous patch).
> > I hope my digging will provide you with clues, or maybe the solution.
> >
> > Sincerely,
> > David Savinkoff
>
> Oops that patch was messy because the night is almost gone.
> The following allows for SDL! and SDL2:
>
>
> #if !WITH_SDL2
> /* show WM window again */
> XMapWindow(display, wm_win);
> #else
> /* show WM window again */
> XMapWindow(display, sdl_win);
> #endif
>
>
Forget the last patch: control.c.diff , it was a failed experiment.
I had the screen.c patch applied also (this one works)