Absolute coordinates using "wl_shell_surface_set_transient"
Giulio Camuffo
giuliocamuffo at gmail.com
Tue Sep 17 06:08:11 PDT 2013
It's a Weston commit, ca43f09.
2013/9/17 Tarnyko <tarnyko at tarnyko.net>
> Great ! Do you by chance have the reference of the patch, and know if it's
> applied on the Wayland, Weston, Xorg... repository ?
> Regards
> Axel Davy writes:
>
>> Did you test with git master? There has been a patch recently about this.
>> Axel Davy
>> Le 17/09/2013 10:37, Tarnyko a écrit :
>>
>>> Hi Giulio, Bill,
>>> We were originally investigating a problem happening when using X/GTK
>>> applications under XWayland ; most of the menus appeared badly positioned
>>> when they opened.
>>> For example, under Evolution with XWayland, when opening the "File"
>>> menu, the menu appears but outside the application's window.
>>> We supposed (but we maybe wrong) that the menu may be a X11 Window, then
>>> wrapped as a surface by XWayland, as the bug was related to Weston badly
>>> calculating the new surface coordinates.
>>> (BTW, it would be great if you had an opinion/insight on this matter)
>>> Thanks for all your answers, nice to see some reactivity on this list
>>> :-).
>>> Regards,
>>> Tarnyko
>>> Bill Spitzak writes:
>>>
>>>>
>>>> Giulio Camuffo wrote:
>>>>
>>>>> No, it's not supposed to work, and if it works it's just by pure
>>>>> chance and/or because of how the shell works internally.
>>>>> There is no way to place a surface to an absolute position from the
>>>>> client side, but there may be ways to solve your problem in a different way.
>>>>> What are you trying to achieve?
>>>>>
>>>> Loading saved window arrangements from a client's configuration file is
>>>> the likely reason. At the moment this is a problem for migrating our
>>>> software to Wayland. I understand the desire to remove this from Wayland
>>>> but I am somewhat stumped on any other way for Wayland to provide this
>>>> functionality. It appears it is possible for X clients to do this, so I
>>>> think the battle is lost and Wayland should add this for non-X clients.
>>>> I agree the supplied code should not work. Attempting to set a loop in
>>>> the surface parents should be an error.
>>>> ______________________________**_________________
>>>> wayland-devel mailing list
>>>> wayland-devel at lists.**freedesktop.org<wayland-devel at lists.freedesktop.org>
>>>> http://lists.freedesktop.org/**mailman/listinfo/wayland-devel<http://lists.freedesktop.org/mailman/listinfo/wayland-devel>
>>>>
>>> ______________________________**_________________
>>> wayland-devel mailing list
>>> wayland-devel at lists.**freedesktop.org<wayland-devel at lists.freedesktop.org>
>>> http://lists.freedesktop.org/**mailman/listinfo/wayland-devel<http://lists.freedesktop.org/mailman/listinfo/wayland-devel>
>>>
>>
>> ______________________________**_________________
> wayland-devel mailing list
> wayland-devel at lists.**freedesktop.org<wayland-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/wayland-devel<http://lists.freedesktop.org/mailman/listinfo/wayland-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130917/6e695a35/attachment-0001.html>
More information about the wayland-devel
mailing list