swayfx/include
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
..
bar Renamed to pango_markup 2016-04-24 20:35:21 +03:00
client Fix formatting guide violations (spaces instead of tabs) 2016-07-06 01:08:54 -05:00
lock Add graphical feedback to swaylock (#526) 2016-03-25 15:24:41 +01:00
border.h border: clear buffer on fullscreen views 2016-04-27 11:24:28 +02:00
commands.h Match definition with declaration 2016-05-23 14:42:03 +02:00
config.h cleanup + add timeouts for pid_workspace list 2016-06-11 12:43:34 -05:00
container.h Fix tabbed/stacked corner case #742 2016-07-07 22:28:57 +02:00
criteria.h criteria: Add. Learn for_window command. 2015-11-25 14:34:33 +01:00
extensions.h Set panels' geometries correctly and don't render them explicitly 2016-07-14 17:18:01 -05:00
focus.h Suspend destruction of wss when creating views 2016-07-15 00:22:53 +03:00
handlers.h Update to new WLC API 2016-03-24 14:08:53 -04:00
input.h libinput 2016-01-19 06:51:36 -08:00
input_state.h Implement bindsym --release 2016-01-07 21:43:00 +01:00
ipc-client.h swaybar: move core functionality to state.c 2016-01-24 14:22:19 +01:00
ipc-json.h implement get_tree command 2016-07-04 13:34:44 -05:00
ipc-server.h Replace deprecated function wlc_output_get_pixels. 2016-02-08 12:39:07 +01:00
ipc.h Fix spelling mistakes 2016-04-02 16:00:05 +01:00
layout.h Add support for nested tabbed/stacked containers 2016-04-25 00:00:49 +02:00
list.h implement stable sort for lists 2016-06-02 15:48:14 -05:00
log.h Add get_log_level() to encapsulate v (current log level) 2016-06-27 18:56:50 -05:00
output.h implement stable sort for lists 2016-06-02 15:48:14 -05:00
readline.h Print /proc/<pid>/maps on segfault 2016-01-28 07:57:07 -05:00
resize.h resize command updates (#713) 2016-07-03 12:11:21 -05:00
stringop.h Add quotes to multiword arguments. 2016-01-25 00:14:13 +01:00
sway.h Correctly exit sway on errors. 2016-02-26 09:42:21 +01:00
util.h semi-working (only non-client/server wayland apps) 2016-06-10 06:08:59 -05:00
workspace.h clean up pid/workspace stuff 2016-06-11 09:20:09 -05:00