mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-09 15:05:58 +01:00
add todo for rotated unconstrained popup
This commit is contained in:
parent
71da20dbde
commit
27f450ac0e
1 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,12 @@ static void popup_unconstrain(struct roots_xdg_popup_v6 *popup) {
|
||||||
// get the output of the popup's positioner anchor point and convert it to
|
// 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
|
// the toplevel parent's coordinate system and then pass it to
|
||||||
// wlr_xdg_popup_v6_unconstrain_from_box
|
// wlr_xdg_popup_v6_unconstrain_from_box
|
||||||
|
|
||||||
|
// TODO: unconstrain popups for rotated windows
|
||||||
|
if (popup->view_child.view->rotation != 0.0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
struct roots_view *view = popup->view_child.view;
|
struct roots_view *view = popup->view_child.view;
|
||||||
struct wlr_output_layout *layout = view->desktop->layout;
|
struct wlr_output_layout *layout = view->desktop->layout;
|
||||||
struct wlr_xdg_popup_v6 *wlr_popup = popup->wlr_popup;
|
struct wlr_xdg_popup_v6 *wlr_popup = popup->wlr_popup;
|
||||||
|
|
Loading…
Reference in a new issue