]> git.eshelyaron.com Git - emacs.git/commit
Avoid handle terminal frames in pgtk_mouse_position.
authorYuuki Harano <masm+github@masm11.me>
Mon, 15 Nov 2021 16:19:12 +0000 (01:19 +0900)
committerYuuki Harano <masm+github@masm11.me>
Mon, 15 Nov 2021 16:19:12 +0000 (01:19 +0900)
commit20dd24c3a058d85f5e92311038fe4f561f00bf8f
tree802261237d113ce6452a3645b078a9f2314ac52f
parent37738c32aca5b6cf0811e957ced7e1d7385ef620
Avoid handle terminal frames in pgtk_mouse_position.

Just above, f1 can become a selected frame, which may be a terminal
frame.  We can't call gtk_widget_get_window() for a terminal frame.

* src/pgtkterm.c (pgtk_mouse_position): Return if it is not a pgtk frame.
src/pgtkterm.c