WIP: fix way vrr
This commit is contained in:
parent
d1a843b71c
commit
d93da9db68
3 changed files with 37 additions and 1 deletions
0
patches/sway/fix-vrr.patch
Normal file
0
patches/sway/fix-vrr.patch
Normal file
24
patches/wlroots/fix-vrr.patch
Normal file
24
patches/wlroots/fix-vrr.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
|
||||
index 43de54e5..307a24ff 100644
|
||||
--- a/backend/drm/drm.c
|
||||
+++ b/backend/drm/drm.c
|
||||
@@ -769,6 +769,7 @@ struct wlr_output_mode *wlr_drm_connector_add_mode(struct wlr_output *output,
|
||||
|
||||
static bool drm_connector_set_cursor(struct wlr_output *output,
|
||||
struct wlr_buffer *buffer, int hotspot_x, int hotspot_y) {
|
||||
+ wlr_log(WLR_DEBUG, "drm_connector_set_cursor");
|
||||
struct wlr_drm_connector *conn = get_drm_connector_from_output(output);
|
||||
struct wlr_drm_backend *drm = conn->backend;
|
||||
struct wlr_drm_crtc *crtc = conn->crtc;
|
||||
@@ -843,6 +844,11 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
|
||||
|
||||
static bool drm_connector_move_cursor(struct wlr_output *output,
|
||||
int x, int y) {
|
||||
+
|
||||
+ wlr_log(WLR_DEBUG, "drm_connector_move_cursor");
|
||||
+
|
||||
+ return true;
|
||||
+
|
||||
struct wlr_drm_connector *conn = get_drm_connector_from_output(output);
|
||||
if (!conn->crtc) {
|
||||
return false;
|
Loading…
Add table
Add a link
Reference in a new issue