v2.3.28 Fixed Chinese input and gtk3 issues for linux packagin,

And Windows Drag Region
This commit is contained in:
杨红岩 2023-01-18 17:56:47 +08:00
parent 1732c3863c
commit 46657f3e60

View File

@ -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)
}