aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-04-23 23:47:52 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-04-23 23:47:52 -0500
commit6e02b421cd6cc6c5715b72f906fcb604b5b52aa7 (patch)
tree4f323f9971d20a212cdca8a6d39e60cd37bf0097
parentee2b3af1cacce8052e03a778316d06a8733ec5b9 (diff)
note about cursor init
-rw-r--r--dwl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 92aaaee..12058c9 100644
--- a/dwl.c
+++ b/dwl.c
@@ -956,7 +956,9 @@ run(char *startup_cmd)
selmon = xytomon(cursor->x, cursor->y);
/* XXX hack to get cursor to display in its initial location (100, 100)
- * instead of (0, 0) and then jumping */
+ * instead of (0, 0) and then jumping. still may not be fully
+ * initialized, as the image/coordinates are not transformed for the
+ * monitor when displayed here */
wlr_cursor_warp_closest(cursor, NULL, cursor->x, cursor->y);
wlr_xcursor_manager_set_cursor_image(cursor_mgr, "left_ptr", cursor);