• Alexandros Frantzis's avatar
    winewayland.drv: Ignore spurious size hints. · e0591faf
    Alexandros Frantzis authored
    Due to the asynchronous nature of Wayland events, and the design of the
    xdg_toplevel protocol, an xdg configure event may be a reaction to a
    request in the application's configuration past, and the size hint may
    be out of date. For example:
    
    1. The client commits a 100x100 buffer to a surface.
    2.1 The compositor sends xdg configure(100x100, state=activated).
    2.2 In the meantime, the client resizes and commits a 50x50 buffer.
    3. The client receives the event from (2.1). If we respect the
       size hint, we will resize back to 100x100, although this was
       neither the client's nor the compositor's intention.
    
    To mitigate this we ignore size hints for states that do not
    require strict size adherence.
    e0591faf
Name
Last commit
Last update
..
Makefile.in Loading commit data...
display.c Loading commit data...
dllmain.c Loading commit data...
unixlib.h Loading commit data...
version.rc Loading commit data...
viewporter.xml Loading commit data...
wayland.c Loading commit data...
wayland_keyboard.c Loading commit data...
wayland_output.c Loading commit data...
wayland_pointer.c Loading commit data...
wayland_surface.c Loading commit data...
waylanddrv.h Loading commit data...
waylanddrv_dll.h Loading commit data...
waylanddrv_main.c Loading commit data...
window.c Loading commit data...
window_surface.c Loading commit data...
winewayland.drv.spec Loading commit data...
xdg-output-unstable-v1.xml Loading commit data...
xdg-shell.xml Loading commit data...