Make ImageOverlay set appropriate windowRole again
This commit is contained in:
parent
5483c35452
commit
7ffae002a5
3 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#include <QDesktopServices>
|
||||
#include <QStyle>
|
||||
#include <QUrl>
|
||||
#include <QWindow>
|
||||
#include <QtPlatformHeaders/QXcbWindowFunctions>
|
||||
|
||||
#include "Cache_p.h"
|
||||
#include "ChatPage.h"
|
||||
|
|
@ -178,3 +180,9 @@ Nheko::createRoom(bool space,
|
|||
|
||||
emit ChatPage::instance()->createRoom(req);
|
||||
}
|
||||
|
||||
void
|
||||
Nheko::setWindowRole(QWindow *win, QString newRole) const
|
||||
{
|
||||
QXcbWindowFunctions::setWmWindowRole(win, newRole.toUtf8());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue