Merge pull request #543 from adlpz/master
Set title to passed command when executing with -e
This commit is contained in:
commit
e9e72d0893
|
@ -1765,7 +1765,11 @@ int main(int argc, char **argv) {
|
|||
} else {
|
||||
g_signal_connect(vte, "window-title-changed", G_CALLBACK(window_title_cb),
|
||||
&info.config.dynamic_title);
|
||||
window_title_cb(vte, &info.config.dynamic_title);
|
||||
if (execute) {
|
||||
gtk_window_set_title(GTK_WINDOW(window), execute);
|
||||
} else {
|
||||
window_title_cb(vte, &info.config.dynamic_title);
|
||||
}
|
||||
}
|
||||
|
||||
if (geometry) {
|
||||
|
|
Loading…
Reference in New Issue