Re: new hint for EWMH



> Not just more round-trips -- you need to monitor for changes, i.e.,
> select for props on the root window (to catch _NET_CLIENT_LIST
> updates) and then look at every new window to see what type it is, and
> also monitor for ConfigureEvents on all input windows in case they
> change size.
>
> Alternatively, instead of selecting for events to stay up to date,
> one could re-poll all those windows every time one wants to display a
> menu.
>
> Since this would be in the toolkits, with either approach we're
> actually talking about every app doing all of these things all the
> time.  That seems totally crazy to me.

Maybe my response didn't go through. Why not just use _NET_WORKAREA?
Pop-up windows shouldn't be going over docks/toolbars, anyway, since
they might also have critical UI elements. Then, all you need is a
window type for these input method windows, and the window manager can
update its struts.

  Mark



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