mirror of
https://github.com/edubart/otclient.git
synced 2025-12-20 23:47:12 +01:00
more changes to work on ARM
This commit is contained in:
@@ -904,6 +904,15 @@ std::string X11Window::getClipboardText()
|
||||
return clipboardText;
|
||||
}
|
||||
|
||||
std::string X11Window::getPlatformType()
|
||||
{
|
||||
#ifndef OPENGL_ES2
|
||||
return "X11-GLX";
|
||||
#else
|
||||
return "X11-EGL";
|
||||
#endif
|
||||
}
|
||||
|
||||
bool X11Window::isMaximized()
|
||||
{
|
||||
Atom wmState = XInternAtom(m_display, "_NET_WM_STATE", False);
|
||||
|
||||
Reference in New Issue
Block a user