• Pekka Paalanen's avatar
    libweston-desktop: add set_xwayland_position API · 37111e15
    Pekka Paalanen authored
    X11 applications expect -geometry command line option to work for
    setting the initial window position, but currently this does not work.
    
    Add provision to relay the initial position through libweston-desktop:
    - weston_desktop_api gains a new entry set_xwayland_position
    - implement set_toplevel_with_position() in xwayland internal interface
    
    Once xwayland plugin starts calling set_toplevel_with_position(),
    libweston-desktop can relay that information to a shell if the shell
    wants to hear it.
    
    If a shell does not implement the set_xwayland_position hook, the
    old behaviour remains: the shell positions xwayland toplevels like any
    other.
    Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    Reviewed-by: Quentin Glidic's avatarQuentin Glidic <sardemff7+git@sardemff7.net>
    Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
    37111e15
Name
Last commit
Last update
..
client.c Loading commit data...
internal.h Loading commit data...
libweston-desktop.c Loading commit data...
libweston-desktop.h Loading commit data...
libweston-desktop.pc.in Loading commit data...
seat.c Loading commit data...
surface.c Loading commit data...
wl-shell.c Loading commit data...
xdg-shell-v5.c Loading commit data...
xdg-shell-v6.c Loading commit data...
xwayland.c Loading commit data...