mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Fix software cursors on scaled outputs
There was an issue where it would only work within the boundaries of the unscaled resolution.
This commit is contained in:
parent
6d8e1abfc0
commit
2f6cfe4057
2 changed files with 3 additions and 2 deletions
|
|
@ -249,7 +249,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
|
|||
wlr_output_init(&output->wlr_output, &backend->backend, &output_impl);
|
||||
struct wlr_output *wlr_output = &output->wlr_output;
|
||||
|
||||
wlr_output_update_size(wlr_output, 640, 480);
|
||||
wlr_output_update_size(wlr_output, 1280, 720);
|
||||
strncpy(wlr_output->make, "wayland", sizeof(wlr_output->make));
|
||||
strncpy(wlr_output->model, "wayland", sizeof(wlr_output->model));
|
||||
snprintf(wlr_output->name, sizeof(wlr_output->name), "WL-%d",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue