wayland: Return a type of NET::Unknown for popups
This is to ensure that isNormalWindow() returns false for popups. One could argue that we abuse netwm window types, on the other hand, we don't know the exact type of popups and NET::Unknown is the closest type.
This commit is contained in:
parent
dd3f85d19a
commit
dbdc30da7b
1 changed files with 1 additions and 1 deletions
|
@ -1777,7 +1777,7 @@ NET::WindowType XdgPopupClient::windowType(bool direct, int supported_types) con
|
|||
{
|
||||
Q_UNUSED(direct)
|
||||
Q_UNUSED(supported_types)
|
||||
return NET::Normal;
|
||||
return NET::Unknown;
|
||||
}
|
||||
|
||||
bool XdgPopupClient::hasPopupGrab() const
|
||||
|
|
Loading…
Reference in a new issue