Skip to contentSkip to conversation

SDL2: dont try show window if it was hidden by DE/WM.

PATCH In review Andrei Karas 1 participant 1 message Aug 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 SDL2: dont try show window if it was hidden by DE/WM.

---
 ui/sdl2.c | 3 ---
 1 file changed, 3 deletions(-)
ui/sdl2.c +0 -3
index 4441e99..9523f64 100644
@@ -584,9 +584,6 @@ static void handle_windowevent(SDL_Event *ev)
         }
         break;
     case SDL_WINDOWEVENT_HIDDEN:
-        if (!scon->hidden) {
-            SDL_ShowWindow(scon->real_window);
-        }
         break;
     }
 }
Signature · 1 line
2.9.3