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 <buster6se...@gmail.com>: > 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 <buster6se...@gmail.com>: >>> 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 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user