Commit dbdc30da authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent dd3f85d1
......@@ -1777,7 +1777,7 @@ NET::WindowType XdgPopupClient::windowType(bool direct, int supported_types) con
return NET::Normal;
return NET::Unknown;
bool XdgPopupClient::hasPopupGrab() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment