mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Code style
This commit is contained in:
parent
18819b1147
commit
8a2bf0a700
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ magnify(struct output *output, struct wlr_buffer *output_buffer, struct wlr_box
|
|||
dst_box.height = height;
|
||||
|
||||
if (fullscreen) {
|
||||
src_box.x = CLAMP(ox - (ox / mag_scale), 0.0,
|
||||
src_box.x = CLAMP(ox - (ox / mag_scale), 0.0,
|
||||
width * (mag_scale - 1.0) / mag_scale);
|
||||
src_box.y = CLAMP(oy - (oy / mag_scale), 0.0,
|
||||
height * (mag_scale - 1.0) / mag_scale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue