patches: move lastCursorRect ivar from patch 1 to patch 5
The ivar was declared in patch 0001 but first used in patch 0005, creating dead code in intermediate commits 0001-0004. Now each commit only introduces declarations that are immediately used.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 9e7fa018ef779610b2fb54c1ff951d0bf6bf7652 Mon Sep 17 00:00:00 2001
|
||||
From f1e29f1ec0695a7c97bfc5587274995a4b1052f1 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sukany <martin@sukany.cz>
|
||||
Date: Sat, 28 Feb 2026 12:58:11 +0100
|
||||
Subject: [PATCH 5/8] ns: integrate accessibility with EmacsView and redisplay
|
||||
@@ -23,9 +23,9 @@ block cursor, org-mode folded headings, indirect buffers.
|
||||
Known limitations documented in patch 6 Texinfo node.
|
||||
---
|
||||
etc/NEWS | 13 ++
|
||||
src/nsterm.h | 2 +-
|
||||
src/nsterm.h | 2 +
|
||||
src/nsterm.m | 373 ++++++++++++++++++++++++++++++++++++++++++++++++++-
|
||||
3 files changed, 384 insertions(+), 4 deletions(-)
|
||||
3 files changed, 385 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/etc/NEWS b/etc/NEWS
|
||||
index ef36df5..e76ee93 100644
|
||||
@@ -52,14 +52,14 @@ index ef36df5..e76ee93 100644
|
||||
** Re-introduced dictation, lost in Emacs v30 (macOS).
|
||||
We lost macOS dictation in v30 when migrating to NSTextInputClient.
|
||||
diff --git a/src/nsterm.h b/src/nsterm.h
|
||||
index 5298386..ec7b587 100644
|
||||
index ca67bd9..ec7b587 100644
|
||||
--- a/src/nsterm.h
|
||||
+++ b/src/nsterm.h
|
||||
@@ -594,7 +594,7 @@ typedef NS_ENUM (NSInteger, EmacsAXSpanType)
|
||||
@@ -593,6 +593,8 @@ typedef NS_ENUM (NSInteger, EmacsAXSpanType)
|
||||
Lisp_Object lastRootWindow;
|
||||
BOOL accessibilityTreeValid;
|
||||
BOOL accessibilityUpdating;
|
||||
@public /* Accessed by ns_draw_phys_cursor (C function). */
|
||||
- NSRect lastAccessibilityCursorRect;
|
||||
+ @public /* Accessed by ns_draw_phys_cursor (C function). */
|
||||
+ NSRect lastCursorRect;
|
||||
#endif
|
||||
BOOL font_panel_active;
|
||||
|
||||
Reference in New Issue
Block a user