diff options
-rw-r--r-- | src/QuickMedia.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index bd19f2a..f009cdd 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1869,6 +1869,8 @@ namespace QuickMedia { }); if(page_changed) { + if(fullscreen) + window_set_fullscreen(disp, window.getSystemHandle(), WindowFullscreenState::UNSET); current_page = previous_page; return; } else { @@ -1919,7 +1921,6 @@ namespace QuickMedia { save_recommendations_from_related_videos(video_url, video_title, related_videos); } -#if 0 if(video_player_window) { if(!cursor_visible) { std::this_thread::sleep_for(std::chrono::milliseconds(50)); @@ -1933,9 +1934,6 @@ namespace QuickMedia { } } std::this_thread::sleep_for(std::chrono::milliseconds(50)); - #endif - window.clear(back_color); - window.display(); } window.setMouseCursorVisible(true); |