diff options
Diffstat (limited to 'src/xwidget.c')
-rw-r--r-- | src/xwidget.c | 2 |
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 |