swayfx/include/sway
Ryan Dwyer de86d65627 Fix popups
Fixes the render and container_at order for popups.

Fixes #2210

For rendering:

* render_view_surfaces has been renamed to render_view_toplevels
* render_view_toplevels now uses output_surface_for_each_surface (which
is now public), as that function uses wlr_surface_for_each_surface which
doesn't descend into popups
* Views now have a for_each_popup iterator, which is used by the
renderer to render the focused view's popups
* When rendering a popup, toplevels (xdg subsurfaces) of that popup are
also rendered

For sending frame done, the logic has been updated to match the
rendering logic:

* send_frame_done_container no longer descends into popups
* for_each_popup is used to send frame done to the focused view's popups
and their child toplevels

For container_at:

* floating_container_at is now static, which means it had to be moved
higher in the file.
* container_at now considers popups for the focused view before checking
containers.
* tiling_container_at has been introduced, so that it doesn't call
container_at recursively (it would check popups recursively if it did)
2018-07-31 18:41:30 +10:00
..
desktop Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
input Bindings use advised keyboard repeat parameters 2018-07-29 19:15:10 -04:00
tree Fix popups 2018-07-31 18:41:30 +10:00
commands.h Add xkb_numlock/xkb_capslock commands (#2311) 2018-07-25 17:24:45 +02:00
config.h Implement setting NumLock and CapsLock status 2018-07-25 17:24:45 +02:00
criteria.h reverted includes of "sway/config.h" and replaced with "config.h" from meson build 2018-07-25 13:32:20 +02:00
debug.h Add extended debugging flags 2018-07-14 20:44:32 -04:00
desktop.h Implement some floating move commands 2018-07-09 23:38:29 +10:00
ipc-json.h Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
ipc-server.h Implement mode --pango_markup 2018-07-05 18:12:14 -04:00
layers.h sway views: add helpers to get view and layer from wlr_surface 2018-06-30 22:31:14 +09:00
output.h Fix popups 2018-07-31 18:41:30 +10:00
scratchpad.h Implement scratchpad 2018-07-23 08:24:32 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h more style fixes, included "sway/config.h" where needed 2018-07-25 12:17:10 +02:00
xwayland.h more style fixes, included "sway/config.h" where needed 2018-07-25 12:17:10 +02:00