Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init window_get_icon_index() as -1 #1915

Merged
merged 6 commits into from Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ENIGMAsystem/SHELL/Platforms/SDL/Window.cpp
Expand Up @@ -139,7 +139,7 @@ void io_handle() {
enigma::update_mouse_variables();
}

static int currentIconIndex;
static int currentIconIndex = -1;
static unsigned currentIconFrame;

int window_get_icon_index() {
Expand Down
2 changes: 1 addition & 1 deletion ENIGMAsystem/SHELL/Platforms/Win32/WINDOWSwindow.cpp
Expand Up @@ -86,7 +86,7 @@ void* window_handle() {
}
#endif

static int currentIconIndex;
static int currentIconIndex = -1;
static unsigned currentIconFrame;

int window_get_icon_index() {
Expand Down
2 changes: 1 addition & 1 deletion ENIGMAsystem/SHELL/Platforms/xlib/XLIBwindow.cpp
Expand Up @@ -153,7 +153,7 @@ void window_set_visible(bool visible) {
}
}

static int currentIconIndex;
static int currentIconIndex = -1;
static unsigned currentIconFrame;

int window_get_icon_index() {
Expand Down