aboutsummaryrefslogtreecommitdiff
path: root/rootston/xdg_shell_v6.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-28 23:24:39 -0400
committerTony Crisci <tony@dubstepdish.com>2018-03-28 23:24:39 -0400
commit2e63d1a0ca01d71de58988593860741b835ba8bb (patch)
tree7f574a003f98186d5797d9849a1dece2c13fe0a5 /rootston/xdg_shell_v6.c
parent27f450ac0eb254dad03c11b14d4785c16dac0c51 (diff)
toplevel_box to toplevel_sx_box
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r--rootston/xdg_shell_v6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c
index 0aca9638..39e8a4b7 100644
--- a/rootston/xdg_shell_v6.c
+++ b/rootston/xdg_shell_v6.c
@@ -92,14 +92,14 @@ static void popup_unconstrain(struct roots_xdg_popup_v6 *popup) {
// the output box expressed in the coordinate system of the toplevel parent
// of the popup
- struct wlr_box output_box_toplevel = {
+ struct wlr_box output_toplevel_sx_box = {
.x = output->lx - view->x,
.y = output->ly - view->y,
.width = width,
.height = height
};
- wlr_xdg_popup_v6_unconstrain_from_box(popup->wlr_popup, &output_box_toplevel);
+ wlr_xdg_popup_v6_unconstrain_from_box(popup->wlr_popup, &output_toplevel_sx_box);
}
static struct roots_xdg_popup_v6 *popup_create(struct roots_view *view,