sway/sway
David Eklov 5c4f52f953 Set panels' geometries correctly and don't render them explicitly
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.
2016-07-14 17:18:01 -05:00
..
border.c
CMakeLists.txt
commands.c Fix tabbed/stacked corner case #742 2016-07-07 22:28:57 +02:00
config.c
container.c Fix tabbed/stacked corner case #742 2016-07-07 22:28:57 +02:00
criteria.c
debug_log.c
extensions.c Don't treat backgrounds as shell surfaces 2016-07-14 17:15:31 -05:00
focus.c Suspend destruction of wss when creating views 2016-07-15 00:22:53 +03:00
handlers.c Set panels' geometries correctly and don't render them explicitly 2016-07-14 17:18:01 -05:00
input.c
input_state.c
ipc-json.c Fix build on x86 2016-07-12 09:43:48 +00:00
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