aboutsummaryrefslogtreecommitdiffstats
path: root/mps
diff options
context:
space:
mode:
authorStéphane Marks2026-03-12 14:23:51 -0400
committerAlan Third2026-04-03 12:22:14 +0100
commit52205e38d3ea670f2685e345591eac43d7a9b613 (patch)
tree7e93f18886e90848241dc1662c3419683ca912a3 /mps
parente0ca1d88228e7c0b018f468c4aa1bc49aa21311a (diff)
downloademacs-master.tar.gz
emacs-master.zip
Inform macOS Accessibility Zoom of cursor position (bug#80624)HEADmaster
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