diff options
Diffstat (limited to 'uzbl-core.c')
-rw-r--r-- | uzbl-core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uzbl-core.c b/uzbl-core.c index a1ff88d..0bbf445 100644 --- a/uzbl-core.c +++ b/uzbl-core.c @@ -2446,6 +2446,12 @@ main (int argc, char* argv[]) { uzbl.info.pid_str = g_string_free(tmp, FALSE); send_event(INSTANCE_START, uzbl.info.pid_str, NULL); + if(uzbl.state.plug_mode) { + char *t = itos(gtk_plug_get_id(uzbl.gui.plug)); + send_event(PLUG_CREATED, t, NULL); + g_free(t); + } + gtk_widget_grab_focus (GTK_WIDGET (uzbl.gui.web_view)); if (uzbl.state.verbose) { |