Fix wayland icon with SDL_VIDEO_WAYLAND_WMCLASS

This is used by SDL to set the xdg_toplevel app_id
This commit is contained in:
Colin Kinloch 2024-06-04 11:30:18 +01:00 committed by tildearrow
parent 39d40204c3
commit 53ddffeb14
2 changed files with 5 additions and 0 deletions

View file

@ -36,6 +36,8 @@
#include "fileDialog.h"
#define FURNACE_APP_ID "org.tildearrow.furnace"
#define rightClickable if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) ImGui::SetKeyboardFocusHere(-1);
#define ctrlWheeling ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) || ImGui::IsKeyDown(ImGuiKey_RightCtrl)) && wheelY!=0)