diff --git a/src/xfns.c b/src/xfns.c index 2460e16bbaf..2c3a16ce019 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -10977,7 +10977,7 @@ Value is t is tooltip was open, nil otherwise.") extern void xlwmenu_redisplay P_ ((Widget)); if (!DoesSaveUnders (FRAME_X_DISPLAY_INFO (f)->screen) - && w != None) + && w != NULL) { BLOCK_INPUT; xlwmenu_redisplay (w);