diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-03-18 14:52:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-18 14:52:44 +0100 |
commit | b1f22fe756aa7b00f62f843ec296c863ec58fb50 (patch) | |
tree | 5db5700d6fe024039dfa8569f302c0e72b60909f | |
parent | 00c4782910d6a4ea7d3ab0f8a28dec6e9a7c01d3 (diff) | |
parent | fc84ccc468e14dd8cd317c29424011d76ec85dd5 (diff) |
Merge pull request #8066 from Hinsbart/fix_x11_cursor
X11: Don't reset mouse cursor theme.
-rw-r--r-- | platform/x11/os_x11.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 4f79f2fb5d..d7cb69f2b9 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -332,12 +332,11 @@ void OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_au WARN_PRINT("XCreateIC couldn't create xic"); } - XcursorSetTheme(x11_display, "default"); cursor_size = XcursorGetDefaultSize(x11_display); cursor_theme = XcursorGetTheme(x11_display); if (!cursor_theme) { - print_line("not found theme"); + WARN_PRINT("Could not find cursor theme"); cursor_theme = "default"; } |