> " I think you can make the circular menu a child window. Make it a child of whatever surface received the keystroke" You can't, there is no child window. The application has 1 window that appears under the mouse at a relative position that only the application knows. The absolute mouse position is not necessary if you can specify an offset to it.
2014-07-02 1:01 GMT+02:00 Bill Spitzak <[email protected]>: > > > On 07/01/2014 03:33 PM, Fabrice Rey wrote: > >> Pekka I think you misunderstod my point, let me try to be more clear. >> The "circular menu" is actually just a window, that paints some icons on >> a ring. It doesn't have a parent window, and that's the problem. >> How in Wayland will we be able to place this window so that its center >> is right on the cursor position ? >> We know the mouse position only relatively to a surface, but here we >> need the mouse position on the screen, and then positionning the window >> relatively to it. >> In short, you press the shortkey, and then a ring of icons appear >> scentered on the cursor. The question is "how?" >> > > I think you can make the circular menu a child window. Make it a child of > whatever surface received the keystroke. > > The only problem remaining is that the client may not know the current > position of the mouse relative to this surface. > > > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel >
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
