summaryrefslogtreecommitdiff
path: root/src/xwidget.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-31 09:18:56 +0800
committerPo Lu <luangruo@yahoo.com>2021-12-31 09:18:56 +0800
commitcc43606b552b66154cc243186e252ff3933e4206 (patch)
tree51ebdef1d3846d2bc125f118425de8aa15774a16 /src/xwidget.c
parent1d2d7ee87eb1981af4033755c4385e9130b696ff (diff)
downloademacs-cc43606b552b66154cc243186e252ff3933e4206.tar.gz
* src/xwidget.c (Fxwidget_perform_lispy_event): Use FRAME_WINDOW_P.
Diffstat (limited to 'src/xwidget.c')
-rw-r--r--src/xwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c
index 49e15a0955c..025275f1a05 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -452,7 +452,7 @@ selected frame is not an X-Windows frame. */)
if (!NILP (frame))
f = decode_window_system_frame (frame);
- else if (FRAME_X_P (SELECTED_FRAME ()))
+ else if (FRAME_WINDOW_P (SELECTED_FRAME ()))
f = SELECTED_FRAME ();
#ifdef USE_GTK