Shade and Unshade actions

This commit is contained in:
Keith Bowes 2022-02-25 16:28:59 -05:00
parent 0769addabd
commit 8403f759c4
8 changed files with 90 additions and 57 deletions

View file

@ -32,7 +32,7 @@ static void render_surface(struct wlr_surface *surface,
double ox = 0, oy = 0;
wlr_output_layout_output_coords(
view->server->output_layout, output, &ox, &oy);
ox += view->x + sx, oy += view->y + sy;
ox += view->current_position.x + sx, oy += view->current_position.y + sy;
/* We also have to apply the scale factor for HiDPI outputs. This is only
* part of the puzzle, Waybox does not fully support HiDPI. */