mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 05:54:11 +01:00
5c4f52f953
Panels were explicitly rendered by calling wlc_surface_render in handle_output_pre_render. Calling wlc_surface_render does not set the surface's geometry (like wlc_view_set_geometry does). Sway did not call wlc_view_set_geometry for panels, so wlc defaulted their geometry to be at the origin. This is not correct for bars unless their location is top. Furthermore, for a surface to receive pointer events, its mask has to be set to visible. This causes wlc to render these surfaces, causing panels and backgrounds to be rendered twice. This commit makes panels and surfaces visible, sets the correct geometries and removes the code that explicitly rendered them. |
||
---|---|---|
.. | ||
border.c | ||
CMakeLists.txt | ||
commands.c | ||
config.c | ||
container.c | ||
criteria.c | ||
debug_log.c | ||
extensions.c | ||
focus.c | ||
handlers.c | ||
input_state.c | ||
input.c | ||
ipc-json.c | ||
ipc-server.c | ||
layout.c | ||
main.c | ||
output.c | ||
resize.c | ||
sway-bar.5.txt | ||
sway-input.5.txt | ||
sway.1.txt | ||
sway.5.txt | ||
workspace.c |