Skip to content

Commit

Permalink
Fix #3107 too
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Nov 21, 2023
1 parent a2de6af commit bc3b831
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/server/frontend_xwayland/xwayland_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,14 @@ auto wm_window_type_to_mir_window_type(
}
else if (wm_type == connection->_NET_WM_WINDOW_TYPE_POPUP_MENU ||
wm_type == connection->_NET_WM_WINDOW_TYPE_DROPDOWN_MENU ||
wm_type == connection->_NET_WM_WINDOW_TYPE_COMBO ||
wm_type == connection->_NET_WM_WINDOW_TYPE_DIALOG)
wm_type == connection->_NET_WM_WINDOW_TYPE_COMBO)
{
return mir_window_type_menu;
}
else if (wm_type == connection->_NET_WM_WINDOW_TYPE_DIALOG)
{
return override_redirect ? mir_window_type_menu : mir_window_type_dialog;
}
else if (wm_type == connection->_NET_WM_WINDOW_TYPE_TOOLTIP ||
wm_type == connection->_NET_WM_WINDOW_TYPE_NOTIFICATION ||
wm_type == connection->_NET_WM_WINDOW_TYPE_DND)
Expand Down

0 comments on commit bc3b831

Please sign in to comment.