nixos-config/patches/wlroots/fix-vrr.patch
Leonardo Eugênio d93da9db68 WIP: fix way vrr
2022-12-04 01:24:39 -03:00

25 lines
927 B
Diff

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;