mirror of
https://github.com/Minecraft-Community-Edition/client.git
synced 2026-05-30 13:04:39 +00:00
Fix close button
Fixes the close button on the home gui screen
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
|
||||
#include "Xbox/resource.h"
|
||||
|
||||
#include "Windows64_Minecraft.h"
|
||||
|
||||
HINSTANCE hMyInst;
|
||||
LRESULT CALLBACK DlgProc(HWND hWndDlg, UINT Msg, WPARAM wParam, LPARAM lParam);
|
||||
char chGlobalText[256];
|
||||
@@ -289,6 +291,11 @@ void MemSect(int sect)
|
||||
HINSTANCE g_hInst = NULL;
|
||||
HWND g_hWnd = NULL;
|
||||
|
||||
HWND GetMinecraftWindowHWND()
|
||||
{
|
||||
return g_hWnd;
|
||||
}
|
||||
|
||||
static bool g_isFullscreen = false;
|
||||
static RECT g_windowedRect = {};
|
||||
static LONG g_windowedStyle = 0;
|
||||
|
||||
Reference in New Issue
Block a user