sway/include
Kenny Levinsen fbf5887160 tree/view: Send configure before mapping
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
2024-08-27 23:22:21 +02:00
..
sway tree/view: Send configure before mapping 2024-08-27 23:22:21 +02:00
swaybar common: move load_image to swaybar 2023-11-23 20:42:04 +01:00
swaynag swaynag: Implement wp_cursor_shape_v1 2023-07-31 10:34:11 +02:00
cairo_util.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
gesture.h sway: add bindgesture command 2022-05-30 12:20:43 +02:00
ipc-client.h refactor: use JSON_MAX_DEPTH everywhere 2021-10-25 10:18:40 +02:00
ipc.h i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h pango: add printf attribute 2023-04-14 18:34:54 +02:00
pool-buffer.h cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:28:32 +02:00
stringop.h Add format_str() and vformat_str() 2023-04-14 18:34:54 +02:00
util.h input: Move get_current_time_msec in from util 2021-06-23 09:55:36 +02:00