virtualx-engine/platform/x11
Hein-Pieter van Braam d0c2015fe1 X11 return to cwd at exit
During runtime godot calls chdir() several times. This doesn't really
matter normally but when using tools such as gprof the location of the
profiling data is kind of hard to intuit.

With this PR we simply store the current working directory at start and
restore it once we're almost done exiting.

This doesn't use the OS abstractions as when we need to get the current
workdir we haven't yet initialized it (by necessity). This would break
if we tried to build X11 for windows, but since the X11 target is
hardcoded to use the UNIX abstractions I don't think it matters.
2017-02-18 12:41:26 +01:00
..
export Removed import/export system, will start new one from scratch. 2017-01-25 21:57:08 -03:00
context_gl_x11.cpp x11: don't wait for window to be mapped 2017-01-19 09:38:40 +01:00
context_gl_x11.h Style: Fix whole-line commented code 2017-01-14 14:52:23 +01:00
detect.py Use -Ofast on x11. Also introduced use_lto option. 2017-01-26 19:32:27 -06:00
godot_x11.cpp X11 return to cwd at exit 2017-02-18 12:41:26 +01:00
joypad_linux.cpp Rename "joypad_linux" class to "JoypadLinux" 2017-01-08 22:22:00 +01:00
joypad_linux.h Rename "joypad_linux" class to "JoypadLinux" 2017-01-08 22:22:00 +01:00
key_mapping_x11.cpp Style: Fix whole-line commented code 2017-01-14 14:52:23 +01:00
key_mapping_x11.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
logo.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
os_x11.cpp X11: Move audio driver finalize to the start of cleanup 2017-02-17 17:59:06 +01:00
os_x11.h Added focus tracking in X11 and Windows classes, added new confined mouse mode (#7162) 2017-01-25 19:21:41 +01:00
platform_config.h Move glad files to thirdparty dir 2017-01-06 22:42:19 +01:00
SCsub Finish replacement of joystick by joypad 2017-01-08 21:33:37 +01:00