summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-04-08 13:37:16 +0800
committerPo Lu <luangruo@yahoo.com>2022-04-08 13:37:16 +0800
commitac2708bf6f83dfb965694381c4e9d0c71f61bd0c (patch)
tree93c26be2946195cd3380eef81401d33a440a27e8 /lisp/emacs-lisp/cursor-sensor.el
parente9849939549010529e180ffb2509922f1bcc4843 (diff)
downloademacs-ac2708bf6f83dfb965694381c4e9d0c71f61bd0c.tar.gz
emacs-ac2708bf6f83dfb965694381c4e9d0c71f61bd0c.tar.bz2
emacs-ac2708bf6f83dfb965694381c4e9d0c71f61bd0c.zip
Implement support for reporting device names on PGTK
* lisp/frame.el (device-class): Add new function. * lisp/term/pgtk-win.el (pgtk-device-class): New function. * src/pgtkterm.c (pgtk_device_added_or_removal_cb) (pgtk_seat_added_cb, pgtk_seat_removed_cb) (pgtk_enumerate_devices) (pgtk_free_devices, pgtk_regenerate_devices) (pgtk_get_device_for_event): New functions. (mark_pgtkterm): Mark device data. (pgtk_delete_terminal): Delete device data. (pgtk_handle_event, key_press_event, note_mouse_movement) (construct_mouse_click, button_event, scroll_event) (drag_data_received): Set device correctly. (pgtk_term_init): Initialize device data and seat tracking. (pgtk_delete_display): Delete device data. * src/pgtkterm.h (struct pgtk_device_t): New struct. (struct pgtk_display_info): New field `devices'. Delete lots of unused macros and reformat comments.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions