From b5ce5f0155ca7525cd8629ddc83b05b6d54d7ab6 Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Sun, 24 Sep 2023 19:40:11 +1300 Subject: [PATCH] Update metadata --- extra/com.github.taiko2k.tauonmb.appdata.xml | 3 +-- tauon.py | 7 +++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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)