Re: How to find all panels on screen



On Fri, Nov 3, 2017 at 12:42 AM, Sergey Cherepanov
<sergey cherepanov org> wrote:
I wonder how I can find position and size of all panels on screen. I need to
determine usable screen size/position for gnome-shell extension.

You mean the area that is available to regular windows? That's called
the "work area", and there are methods to query it, for example
meta_workspace_get_work_area_for_monitor()[0]

Cheers,
Florian

[0] https://git.gnome.org//browse/mutter/tree/src/core/workspace.c#n1082


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]