swayfx/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
..
commands Send floating container to scratchpad when a child is focused 2018-07-28 22:41:04 +10:00
config Implement setting NumLock and CapsLock status 2018-07-25 17:24:45 +02:00
desktop Fix popups 2018-07-31 18:41:30 +10:00
input Fix popups 2018-07-31 18:41:30 +10:00
tree Fix popups 2018-07-31 18:41:30 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement scratchpad 2018-07-23 08:24:32 +10:00
config.c Implement floating_modifier <mod> [inverse|normal] 2018-07-24 18:41:08 -04:00
criteria.c more style fixes, reorder config.h include 2018-07-25 13:43:21 +02:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
ipc-json.c Mark containers as urgent in IPC if they have urgent views 2018-07-16 14:30:31 +10:00
ipc-server.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
main.c Fix deferred command handling 2018-07-19 01:39:58 -04:00
meson.build Add xkb_numlock/xkb_capslock commands (#2311) 2018-07-25 17:24:45 +02:00
scratchpad.c Focus child when showing a scratchpad container 2018-07-28 22:41:04 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c reverted includes of "sway/config.h" and replaced with "config.h" from meson build 2018-07-25 13:32:20 +02:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd Add documentation for urgent command 2018-07-16 10:15:18 +10:00