Skip to content

Commit 3c4c79c

Browse files
committed
Merge pull request godotengine#89803 from timothyqiu/xfce4-terminal
Add necessary flags when opening directory with xfce4-terminal
2 parents 9cba6ec + 7984043 commit 3c4c79c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/filesystem_dock.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,6 +2250,8 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
22502250
terminal_emulator_args.push_back("--working-directory");
22512251
} else if (chosen_terminal_emulator.ends_with("urxvt")) {
22522252
terminal_emulator_args.push_back("-cd");
2253+
} else if (chosen_terminal_emulator.ends_with("xfce4-terminal")) {
2254+
terminal_emulator_args.push_back("--working-directory");
22532255
}
22542256
}
22552257
#endif

0 commit comments

Comments
 (0)