diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-28 16:55:16 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-28 16:55:16 -0400 |
commit | 0bfcce50a9e3fe8e06d225c69a686041311ae484 (patch) | |
tree | ce64d65a270624c7902d0af923a65968f339021f /rootston | |
parent | dbffda7549de4dba6b595e9bcaaef1628463315f (diff) |
xdg-positioner: honor constraint flags
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/xdg_shell_v6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index 22309e8e..9062995d 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -51,6 +51,9 @@ static void popup_handle_new_popup(struct wl_listener *listener, void *data) { } static void popup_unconstrain(struct roots_xdg_popup_v6 *popup) { + // get the output of the popup's positioner anchor point and convert it to + // the toplevel parent's coordinate system and then pass it to + // wlr_xdg_popup_v6_unconstrain_from_box struct roots_view *view = popup->view_child.view; struct wlr_output_layout *layout = view->desktop->layout; struct wlr_xdg_popup_v6 *wlr_popup = popup->wlr_popup; |