aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-12 12:54:45 +0100
committeremersion <contact@emersion.fr>2017-11-12 12:54:45 +0100
commit454bea678b6c253ac102522f7af1ffd75de92de1 (patch)
treed538ccaae683fd41e7bc3f1db3cc25d120955d2a /rootston/desktop.c
parent0b3f83d93adf23dcc0737928de355f555dd82dee (diff)
Fix rendering of rotated views on HiDPI outputs
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index dcf36ecf..4d744597 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -247,7 +247,6 @@ struct roots_view *view_at(struct roots_desktop *desktop, double lx, double ly,
}
if (view->type == ROOTS_XDG_SHELL_V6_VIEW) {
- // TODO: test if this works with rotated views
double popup_sx, popup_sy;
struct wlr_xdg_surface_v6 *popup =
wlr_xdg_surface_v6_popup_at(view->xdg_surface_v6,
@@ -262,7 +261,6 @@ struct roots_view *view_at(struct roots_desktop *desktop, double lx, double ly,
}
if (view->type == ROOTS_WL_SHELL_VIEW) {
- // TODO: test if this works with rotated views
double popup_sx, popup_sy;
struct wlr_wl_shell_surface *popup =
wlr_wl_shell_surface_popup_at(view->wl_shell_surface,