Skip to content

Commit

Permalink
chore: add upstream patch
Browse files Browse the repository at this point in the history
Log:
  • Loading branch information
Groveer authored and xzl01 committed Jun 12, 2024
1 parent d242b3c commit 0c31c78
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions debian/patches/reset_hardware_cursor_on_failure.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/types/output/cursor.c b/types/output/cursor.c
index ad37a04..341692d 100644
--- a/types/output/cursor.c
+++ b/types/output/cursor.c
@@ -359,6 +359,8 @@ static bool output_cursor_attempt_hardware(struct wlr_output_cursor *cursor) {
return false;
}

+ output->hardware_cursor = NULL;
+
struct wlr_texture *texture = cursor->texture;

// If the cursor was hidden or was a software cursor, the hardware
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Revert-layer-shell-error-on-0-dimension-without-anchors.patch
gles2-Avoid-crash-when-glGetInteger64vEXT-is-missing.patch
emit-destroy-signal-in-destroy-function.patch
init-destroy-signal.patch
reset_hardware_cursor_on_failure.patch

0 comments on commit 0c31c78

Please sign in to comment.