From 0001048357fca5d65996eec19680d86b54743334 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sat, 3 Feb 2018 18:10:37 +0100 Subject: [PATCH] Re-added double-sized mouse pointer in GUI, unless we're running under x11 --- src/osdep/gui/main_window.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/osdep/gui/main_window.cpp b/src/osdep/gui/main_window.cpp index 8aea6cb2..8e192496 100644 --- a/src/osdep/gui/main_window.cpp +++ b/src/osdep/gui/main_window.cpp @@ -276,14 +276,14 @@ namespace sdl void setup_cursor() { // Detect resolution and load appropiate cursor image - //if (sdlMode.w > 1280) - //{ - // cursor_surface = SDL_LoadBMP("data/cursor-x2.bmp"); - //} - //else - //{ + if (strcmp(sdl_video_driver, "x11") != 0 && sdlMode.w > 1280) + { + cursor_surface = SDL_LoadBMP("data/cursor-x2.bmp"); + } + else + { cursor_surface = SDL_LoadBMP("data/cursor.bmp"); - //} + } if (!cursor_surface) {