• Matthias Clasen's avatar
    Add gdk_screen_get_monitor_workarea · c6df2828
    Matthias Clasen authored
    The function returns the part of a monitors area that should be
    used for positioning popups, menus, etc. The only non-trivial
    implementation atm is in the X backend, all the other backends
    just return the full monitor area. The X implementation is
    currently suboptimal, since it requires roundtrips to collect
    the necessary information. It should be changed to monitor
    the properties for changes, when XFixes allows to monitor
    individual properties.
    https://bugzilla.gnome.org/show_bug.cgi?id=641999
    c6df2828
gdkscreen.c 25.6 KB