how can I get _NET_WORKAREA for seperate monitors

Posted by Chris Camacho on Stack Overflow See other posts from Stack Overflow or by Chris Camacho
Published on 2010-04-08T08:50:19Z Indexed on 2010/04/08 8:53 UTC
Read the original article Hit count: 321

Filed under:
|
|

using gdk_screen_get_monitor_geometry (xrandr) I can get the resolutions for separate monitors (for example when there are 2 monitors used as a single screen like nvidias twinview)

However _NET_WORKAREA seems to give one giant area even if the resolution of the other monitor is smaller. (a panel at the bottom of the second monitor would appear to be inside this work area)

How can I get the actual workarea of other monitors even getting struts there seems no support for separate monitors just the main one...

© Stack Overflow or respective owner

Related posts about xlib

Related posts about gdk