sway-patched-tray-menu-github/sway/desktop
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
The previous behaviour was to damage the entire view, which would
recurse into each popup. This patch makes it damage only the popup's
surface, and respect the surface damage given by the client.

This adds listeners to the popup's map and unmap events rather than
doing the damage in the create and destroy functions. To get the popup's
position relative to the view, a new child_impl function get_root_coords
has been introduced, which traverses up the parents.
2018-10-07 11:07:29 +10:00
..
desktop.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
idle_inhibit_v1.c Fix crash when destroying an idle-inhibiting client 2018-09-16 23:20:58 +10:00
layer_shell.c Give focus to another swaylock surface when output is disconnected 2018-10-04 19:36:19 +10:00
output.c Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
render.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
transaction.c Merge pull request #2703 from RyanDwyer/csd-border 2018-10-03 13:03:06 +02:00
xdg_shell.c Only damage popups when popups have damage 2018-10-07 11:07:29 +10:00
xdg_shell_v6.c Only damage popups when popups have damage 2018-10-07 11:07:29 +10:00
xwayland.c Rename view_set_csd_from_client to view_update_csd_from_client 2018-09-27 22:51:37 +10:00