diff options
| author | Stéphane Marks | 2026-03-12 14:23:51 -0400 |
|---|---|---|
| committer | Alan Third | 2026-04-03 12:22:14 +0100 |
| commit | 52205e38d3ea670f2685e345591eac43d7a9b613 (patch) | |
| tree | 7e93f18886e90848241dc1662c3419683ca912a3 /mps | |
| parent | e0ca1d88228e7c0b018f468c4aa1bc49aa21311a (diff) | |
| download | emacs-master.tar.gz emacs-master.zip | |
Enable cursor focus tracking for visually-impaired users that
rely on macOS Zoom screen magnification.
* src/nsterm.m: Import ApplicationServices.h.
(ns_ua_zoom_enabled_p, ns_cg_rect_flip_y, ns_UAZoomChangeFocus):
New static function. Advise UAZoomChangeFocus of potentially
new cursor position.
(ns_update_end): Call ns_UAZoomChangeFocus.
(ns_draw_window_cursor): Cache the cursor position.
(applicationDidFinishLaunching): NSLog Accessibility API
permissions AXIsProcessTrusted.
(windowDidBecomeKey): Schedule a call to ns_UAZoomChangeFocus.
(deferred_UAZoomChangeFocus_handler): New view method to call
ns_UAZoomChangeFocus.
(accessibilityFrame): New view method to help UAZoomChangeFocus.
(initFrameFromEmacs): Initialize ns_UAZoom_cursor_rect_new and
ns_UAZoom_cursor_rect_old.
* etc/NEWS: Announce the change.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions