From 46657f3e60ac5315c2323b3dcf722ac3c72b1eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E7=BA=A2=E5=B2=A9?= Date: Wed, 18 Jan 2023 17:56:47 +0800 Subject: [PATCH] v2.3.28 Fixed Chinese input and gtk3 issues for linux packagin, And Windows Drag Region --- cef/cef-browser-window-lcl_windows.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cef/cef-browser-window-lcl_windows.go b/cef/cef-browser-window-lcl_windows.go index f579f366..7e4fc196 100644 --- a/cef/cef-browser-window-lcl_windows.go +++ b/cef/cef-browser-window-lcl_windows.go @@ -79,9 +79,7 @@ func (m *LCLBrowserWindow) doOnRenderCompMsg(message *types.TMessage, lResult *t win.ReleaseCapture() m.windowsState = m.WindowState() if m.windowsState == types.WsNormal { - rtl.PostMessage(m.Handle(), WM_SYSCOMMAND, SC_MAXIMIZE, 0) - //var monitor = m.Monitor().WorkareaRect() - //m.SetBounds(monitor.Left, monitor.Top, monitor.Right-monitor.Left-1, monitor.Bottom-monitor.Top-1) + rtl.SendMessage(m.Handle(), WM_SYSCOMMAND, SC_MAXIMIZE, 0) } else { rtl.SendMessage(m.Handle(), WM_SYSCOMMAND, SC_RESTORE, 0) }