@@ -53,7 +53,8 @@ use cosmic_app_list_config::{APP_ID, AppListConfig};
5353use cosmic_protocols:: toplevel_info:: v1:: client:: zcosmic_toplevel_handle_v1:: State ;
5454use futures:: future:: pending;
5555use iced:: { Alignment , Background , Length } ;
56- use std:: { borrow:: Cow , collections:: HashMap , path:: PathBuf , rc:: Rc , str:: FromStr , time:: Duration } ;
56+ use rustc_hash:: FxHashMap ;
57+ use std:: { borrow:: Cow , path:: PathBuf , rc:: Rc , str:: FromStr , time:: Duration } ;
5758use switcheroo_control:: Gpu ;
5859use tokio:: time:: sleep;
5960use url:: Url ;
@@ -327,12 +328,12 @@ struct CosmicAppList {
327328 wayland_sender : Option < Sender < WaylandRequest > > ,
328329 seat : Option < WlSeat > ,
329330 rectangle_tracker : Option < RectangleTracker < DockItemId > > ,
330- rectangles : HashMap < DockItemId , iced:: Rectangle > ,
331+ rectangles : FxHashMap < DockItemId , iced:: Rectangle > ,
331332 dnd_offer : Option < DndOffer > ,
332333 is_listening_for_dnd : bool ,
333334 gpus : Option < Vec < Gpu > > ,
334335 active_workspaces : Vec < ExtWorkspaceHandleV1 > ,
335- output_list : HashMap < WlOutput , OutputInfo > ,
336+ output_list : FxHashMap < WlOutput , OutputInfo > ,
336337 locales : Vec < String > ,
337338 overflow_favorites_popup : Option < window:: Id > ,
338339 overflow_active_popup : Option < window:: Id > ,
0 commit comments