diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -824,10 +824,10 @@ static void client_show(WebKitWebView *webview, Client *c) gtk_widget_show_all(c->window); +#ifndef FEATURE_NO_XEMBED char *wid; wid = g_strdup_printf("%d", (int)GDK_WINDOW_XID(gtk_widget_get_window(c->window))); g_setenv("neovimb_WIN_ID", wid, TRUE); -#ifndef FEATURE_NO_XEMBED /* set the x window id to env */ if (vb.embed) { char *xid; @@ -837,8 +837,8 @@ static void client_show(WebKitWebView *webview, Client *c) } else { g_setenv("neovimb_XID", wid, TRUE); } -#endif g_free(wid); +#endif /* start client in normal mode */ vb_enter(c, 'n'); |