Re: [Gambas-user] Desktop size in sdl2

2017-01-27 Thread Fabien Bodard
you can do : Dim s As String Dim aDesktop As Integer[] Exec ["xprop", "-root", "_NET_DESKTOP_GEOMETRY"] Wait To s aDesktop = Split(Split(Trim(s), "=")[1]) 2017-01-27 0:51 GMT+01:00 Shane : > So I can center my window on the Screen > > > On 26/01/17 22:12, Fabien Bodard

Re: [Gambas-user] Desktop size in sdl2

2017-01-26 Thread Shane
So I can center my window on the Screen On 26/01/17 22:12, Fabien Bodard wrote: > why the desktop ? > > 2017-01-26 0:29 GMT+01:00 Shane : >> How do you get the Desktop size in SDL2? >> >> >> >> --

Re: [Gambas-user] Desktop size in sdl2

2017-01-26 Thread Fabien Bodard
why the desktop ? 2017-01-26 0:29 GMT+01:00 Shane : > How do you get the Desktop size in SDL2? > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites,

[Gambas-user] Desktop size in sdl2

2017-01-25 Thread Shane
How do you get the Desktop size in SDL2? -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___