mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 00:41:28 +00:00
fbf5887160
Sending 0,0 as configure dimensions indicate that the client is free to pick its own dimensions. When tiling, the client needs to strictly adhere to the tile dimensions. Sway's handling of this has been to send a the appropriate dimensions in a new configure when the surface is mapped, leading to the first buffer most likely being incorrectly sized. Move the majority of the mapping logic to view_premap, issued on the initial role commit rather than when mapping the view. This allow the first configure to be driven by a tree transaction with the appropriate geometr, and allows container siblings to start preparing earlier as well, reducing the new window latency. Fixes: https://github.com/swaywm/sway/issues/2176 |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaynag | ||
cairo_util.h | ||
gesture.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
loop.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
stringop.h | ||
util.h |