aboutsummaryrefslogtreecommitdiffstats
path: root/exec
diff options
context:
space:
mode:
authorPo Lu2025-04-10 15:21:15 +0800
committerPo Lu2025-04-10 15:25:38 +0800
commit884ede7c959b1331e1ede0b1b80f01a06c048bf5 (patch)
tree5ca2198d6e17931492b14d99393d83e798a7f011 /exec
parentcb339ad8f4e386505f1eae9e45c4162feea61f53 (diff)
downloademacs-884ede7c959b1331e1ede0b1b80f01a06c048bf5.tar.gz
emacs-884ede7c959b1331e1ede0b1b80f01a06c048bf5.zip
Respond to display configuration updates on Android
* java/org/gnu/emacs/EmacsNative.java (sendConfigurationChanged): Declare function. * java/org/gnu/emacs/EmacsSdk7FontDriver.java (Sdk7FontEntity) (Sdk7FontObject): Do not access `metrics' field deleted from `EmacsService'. * java/org/gnu/emacs/EmacsService.java (EmacsService) <metrics, resources>: Delete fields. <dpiX, dpiY, dpiScaled>: New fields. (onCreate): Adjust accordingly. Record current display metrics for subsequent comparison. (onConfigurationChanged): New function. * lisp/dynamic-setting.el (font-setting-change-default-font): Enable on systems where font-get-system-font is not defined if invoked with SET-FONT nil. * src/android.c (sendConfigurationChanged): New function. * src/androidgui.h (ANDROID_CONFIGURATION_CHANGED): New enumerator. (struct android_configuration_changed): New structure. (union android_event): Add `config' member. * src/androidterm.c (handle_one_android_event): Handle ANDROID_CONFIGURATION_CHANGED events. (syms_of_androidterm): Define Qfont_render, and Qdynamic_setting. Provide the latter.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions