From cf83bf2fea7efd0d7239dc021741fb88eb76ea8b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 17 Jan 2020 00:19:52 +0100 Subject: Temporary disable cursor hiding in window, as it's bugged in sfml? --- src/QuickMedia.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index c0dd7cf..349cc28 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -791,7 +791,7 @@ namespace QuickMedia { if(!ui_visible) { ui_visible = true; video_player_ui_window->setVisible(true); - window.setMouseCursorVisible(true); + //window.setMouseCursorVisible(true); } } } @@ -834,7 +834,7 @@ namespace QuickMedia { if(ui_hide_timer.getElapsedTime().asMilliseconds() > UI_HIDE_TIMEOUT) { ui_visible = false; video_player_ui_window->setVisible(false); - window.setMouseCursorVisible(false); + //window.setMouseCursorVisible(false); } const float ui_height = window_size.y * 0.025f; @@ -866,7 +866,7 @@ namespace QuickMedia { video_player_ui_window.reset(); window_set_fullscreen(disp, window.getSystemHandle(), WindowFullscreenState::UNSET); - window.setMouseCursorVisible(true); + //window.setMouseCursorVisible(true); } enum class TrackMediaType { -- cgit v1.2.3