mirror of
https://github.com/edubart/otclient.git
synced 2025-12-17 22:27:11 +01:00
fix outfit glitches, init combobox, move shaders, remove unused particles files, create timer utility
This commit is contained in:
@@ -427,7 +427,12 @@ bool X11Window::isExtensionSupported(const char *ext)
|
||||
|
||||
void X11Window::move(const Point& pos)
|
||||
{
|
||||
bool wasVisible = isVisible();
|
||||
if(!wasVisible)
|
||||
show();
|
||||
XMoveWindow(m_display, m_window, pos.x, pos.y);
|
||||
if(!wasVisible)
|
||||
hide();
|
||||
}
|
||||
|
||||
void X11Window::resize(const Size& size)
|
||||
|
||||
Reference in New Issue
Block a user