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
