mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-31 22:25:28 -04:00
Shade and Unshade actions
This commit is contained in:
parent
0769addabd
commit
8403f759c4
8 changed files with 90 additions and 57 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue