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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -