From cc43606b552b66154cc243186e252ff3933e4206 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 31 Dec 2021 09:18:56 +0800 Subject: [PATCH] * src/xwidget.c (Fxwidget_perform_lispy_event): Use FRAME_WINDOW_P. --- src/xwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2