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 cd6ad89e786fc79f68bc0843b8122e088e8766ba Mon Sep 17 00:00:00 2001
|
||||
From 1834e38e60c9e9f898a7e67894c1c9b717db339b Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sukany <martin@sukany.cz>
|
||||
Date: Sat, 28 Feb 2026 12:58:11 +0100
|
||||
Subject: [PATCH 1/8] ns: add accessibility base classes and text extraction
|
||||
@@ -29,12 +29,12 @@ ns-accessibility-enabled.
|
||||
Tested on macOS 14 Sonoma with VoiceOver 10. Builds cleanly;
|
||||
no functional change (dead code until patch 5/6 wires it in).
|
||||
---
|
||||
src/nsterm.h | 131 +++++++++++++++
|
||||
src/nsterm.h | 129 +++++++++++++++
|
||||
src/nsterm.m | 456 +++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
2 files changed, 587 insertions(+)
|
||||
2 files changed, 585 insertions(+)
|
||||
|
||||
diff --git a/src/nsterm.h b/src/nsterm.h
|
||||
index 7c1ee4c..5298386 100644
|
||||
index 7c1ee4c..ca67bd9 100644
|
||||
--- a/src/nsterm.h
|
||||
+++ b/src/nsterm.h
|
||||
@@ -453,6 +453,122 @@ enum ns_return_frame_mode
|
||||
@@ -160,7 +160,7 @@ index 7c1ee4c..5298386 100644
|
||||
/* ==========================================================================
|
||||
|
||||
The main Emacs view
|
||||
@@ -471,6 +587,14 @@ enum ns_return_frame_mode
|
||||
@@ -471,6 +587,12 @@ enum ns_return_frame_mode
|
||||
#ifdef NS_IMPL_COCOA
|
||||
char *old_title;
|
||||
BOOL maximizing_resize;
|
||||
@@ -170,12 +170,10 @@ index 7c1ee4c..5298386 100644
|
||||
+ Lisp_Object lastRootWindow;
|
||||
+ BOOL accessibilityTreeValid;
|
||||
+ BOOL accessibilityUpdating;
|
||||
+ @public /* Accessed by ns_draw_phys_cursor (C function). */
|
||||
+ NSRect lastAccessibilityCursorRect;
|
||||
#endif
|
||||
BOOL font_panel_active;
|
||||
NSFont *font_panel_result;
|
||||
@@ -528,6 +652,13 @@ enum ns_return_frame_mode
|
||||
@@ -528,6 +650,13 @@ enum ns_return_frame_mode
|
||||
- (void)windowWillExitFullScreen;
|
||||
- (void)windowDidExitFullScreen;
|
||||
- (void)windowDidBecomeKey;
|
||||
|
||||
Reference in New Issue
Block a user