mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 23:35:54 +02:00
save window position and size
This commit is contained in:
@@ -31,3 +31,11 @@ X11Window window;
|
||||
#endif
|
||||
|
||||
PlatformWindow& g_window = window;
|
||||
|
||||
void PlatformWindow::updateUnmaximizedCoords()
|
||||
{
|
||||
if(!isMaximized()) {
|
||||
m_unmaximizedPos = m_pos;
|
||||
m_unmaximizedSize = m_size;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user