swayfx/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 Fix issue #661. 2016-05-18 04:25:32 +01:00
CMakeLists.txt implement get_tree command 2016-07-04 13:34:44 -05:00
commands.c Fix tabbed/stacked corner case #742 2016-07-07 22:28:57 +02:00
config.c couple small fixes 2016-06-11 15:29:04 -05:00
container.c Fix tabbed/stacked corner case #742 2016-07-07 22:28:57 +02:00
criteria.c criteria: Code formatting. 2015-11-25 14:59:07 +01:00
debug_log.c Add get_log_level() to encapsulate v (current log level) 2016-06-27 18:56:50 -05:00
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 Add input cmd for setting pointer accel profile. 2016-05-01 11:02:44 +01:00
input_state.c Fix spelling mistakes 2016-04-02 16:00:05 +01:00
ipc-json.c Fix build on x86 2016-07-12 09:43:48 +00:00
ipc-server.c implement get_tree command 2016-07-04 13:34:44 -05:00
layout.c implement get_tree command 2016-07-04 13:34:44 -05:00
main.c sway/main.c: simplify free'ing by switching to the helper method 2016-05-05 23:30:28 +01:00
output.c implement stable sort for lists 2016-06-02 15:48:14 -05:00
resize.c resize command updates (#713) 2016-07-03 12:11:21 -05:00
sway-bar.5.txt Many improvements to man pages 2016-06-10 09:32:14 -04:00
sway-input.5.txt Many improvements to man pages 2016-06-10 09:32:14 -04:00
sway.1.txt Many improvements to man pages 2016-06-10 09:32:14 -04:00
sway.5.txt resize command updates (#713) 2016-07-03 12:11:21 -05:00
workspace.c cleanup + add timeouts for pid_workspace list 2016-06-11 12:43:34 -05:00