diff --git a/extra/com.github.taiko2k.tauonmb.appdata.xml b/extra/com.github.taiko2k.tauonmb.appdata.xml index 93f11016f..f03b546e9 100644 --- a/extra/com.github.taiko2k.tauonmb.appdata.xml +++ b/extra/com.github.taiko2k.tauonmb.appdata.xml @@ -64,10 +64,9 @@ - +
    -
  • Improvement to Spotify support
  • Various tweaks and bug fixes
diff --git a/tauon.py b/tauon.py index 0a5f69ca2..396b8ad44 100755 --- a/tauon.py +++ b/tauon.py @@ -256,17 +256,24 @@ def transfer_args_and_exit(): if "--tray" in sys.argv: flags |= SDL_WINDOW_HIDDEN +error = False + t_window = SDL_CreateWindow(window_title, o_x, o_y, logical_size[0], logical_size[1], flags) # | SDL_WINDOW_FULLSCREEN) + if maximized: SDL_MaximizeWindow(t_window) renderer = SDL_CreateRenderer(t_window, 0, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC) + +if not renderer or not t_window: + print("ERROR CREATING WINDOW!") + SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND) SDL_SetWindowOpacity(t_window, window_opacity)