mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 13:13:17 +00: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. |
||
---|---|---|
.. | ||
bar | ||
client | ||
lock | ||
border.h | ||
commands.h | ||
config.h | ||
container.h | ||
criteria.h | ||
extensions.h | ||
focus.h | ||
handlers.h | ||
input.h | ||
input_state.h | ||
ipc-client.h | ||
ipc-json.h | ||
ipc-server.h | ||
ipc.h | ||
layout.h | ||
list.h | ||
log.h | ||
output.h | ||
readline.h | ||
resize.h | ||
stringop.h | ||
sway.h | ||
util.h | ||
workspace.h |