From: Po Lu Date: Fri, 31 Dec 2021 01:18:56 +0000 (+0800) Subject: * src/xwidget.c (Fxwidget_perform_lispy_event): Use FRAME_WINDOW_P. X-Git-Tag: emacs-29.0.90~3341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc43606b552b66154cc243186e252ff3933e4206;p=emacs.git * src/xwidget.c (Fxwidget_perform_lispy_event): Use FRAME_WINDOW_P. --- 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