c - Xlib multiple display support -
i want display info via xlib, specifically:
- iterate displays
- get screen rectangle each display (relative virtual screen - x11 have concept of virtual screen on physical screens mapped, similar windows , osx?)
- get client area rectangle (so screen minus taskbar etc.) each display
thanks.
half answer: using xineramaqueryscreens()
able enumerate displays , coordinates in virtual screen , sizes. how desktop size, i.e. size windows maximize to?
you need read _net_desktop_geometry (also maybe _net_desktop_viewport , _net_workarea )
Comments
Post a Comment