mirror of
https://gitee.com/energye/energy.git
synced 2024-11-30 10:47:57 +08:00
v2.3.28 Fixed Chinese input and gtk3 issues for linux packagin,
And Windows Drag Region
This commit is contained in:
parent
1732c3863c
commit
46657f3e60
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user