Method in C++ to get the available screen space on Linux -


i'm looking way actual available screen space, similar cocoa nsscreen visibleframe method, on linux. displays resolution minus menu-bar/dock/title-bar.

i'm using sdl2 windowing code, can't find within library documentation might help.

sdl_getwindowmaximumsize seems closes candidate, returning 0,0 me.

any ideas?

use sdl_getdesktopdisplaymode(),( sdl_getvideoinfo() in sdl1.2)

https://wiki.libsdl.org/sdl_getdesktopdisplaymode


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -