sway-patched-tray-menu-github/sway
Ryan Dwyer 93ec1af4d9 Fix popup damage issues when toplevel and/or popup uses geometry
The wlr_xdg_popup_get_toplevel_coords function has the following quirks:

* It does not do anything with the coordinates of the passed popup.
Instead, we are required to add them ourselves, which we do by passing
them to the function as the surface local values.
* It adds the geometry (shadows etc) of the toplevel itself, so the
coordinates are surface local rather than content local. For this
reason, we have to negate the toplevel's geometry
(child->view->geometry).
* I may be wrong, but the popup positions appear to be stored in surface
local coordinates rather than content local coordinates. The geometry
(shadows etc) of the popup itself must be negated (surface->geometry).
2018-10-20 23:18:56 +10:00
..
commands Merge pull request #2870 from RyanDwyer/refactor-input-manager 2018-10-20 08:42:56 +02:00
config swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
desktop Fix popup damage issues when toplevel and/or popup uses geometry 2018-10-20 23:18:56 +10:00
input Fix crash when defaut seat is not created 2018-10-20 11:48:49 +03:00
tree Merge pull request #2870 from RyanDwyer/refactor-input-manager 2018-10-20 08:42:56 +02:00
commands.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
config.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
criteria.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
debug-tree.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
decoration.c Rename view_set_csd_from_client to view_update_csd_from_client 2018-09-27 22:51:37 +10:00
ipc-json.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
ipc-server.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
main.c Remove unnecessary comment 2018-10-13 20:51:29 -04:00
meson.build Implement popup_during_fullscreen 2018-10-08 22:49:59 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
sway-bar.5.scd swaybar: add documentation for hide/hidden_state subcommands 2018-10-14 13:33:12 +01:00
sway-input.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway-output.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.1.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.5.scd cmd_bind{sym,code}: Implement per-device bindings 2018-10-18 13:42:01 -04:00
swaynag.c Allow swaynag to be disabled 2018-10-08 09:59:38 -04:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00