mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed compilation on linux
This commit is contained in:
parent
4b06b43b43
commit
61a6accc54
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,7 @@ void AttachedWindow::attachToHwnd_(void *_attachedPtr)
|
|||
|
||||
void AttachedWindow::updateWindowRect_(void *_attachedPtr)
|
||||
{
|
||||
#ifdef USEWINSDK
|
||||
auto hwnd = HWND(this->winId());
|
||||
auto attached = HWND(_attachedPtr);
|
||||
|
||||
|
@ -186,6 +187,7 @@ void AttachedWindow::updateWindowRect_(void *_attachedPtr)
|
|||
|
||||
// ::MoveWindow(hwnd, rect.right - 360, rect.top + 82, 360 - 8, rect.bottom -
|
||||
// rect.top - 82 - 8, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
// void AttachedWindow::nativeEvent(const QByteArray &eventType, void *message, long *result)
|
||||
|
|
Loading…
Reference in a new issue