File fix.patch of Package crystal-dock

--- a/src/display/wlr_window_manager.cc
+++ b/src/display/wlr_window_manager.cc
@@ -226,9 +226,9 @@
   }
 
   windows_[window]->minimized = false;
-  void *state_entry;
-  wl_array_for_each(state_entry, state) {
-    auto* entry = static_cast<uint32_t*>(state_entry);
+  uint32_t* entry = static_cast<uint32_t*>(state->data);
+  uint32_t* end = static_cast<uint32_t*>(state->data) + state->size;
+  for (; entry < end; entry++) {
     if (*entry == ZWLR_FOREIGN_TOPLEVEL_HANDLE_V1_STATE_MAXIMIZED) {
       // TODO: handle this.
     }
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -113,7 +113,7 @@
     view/wallpaper_settings_dialog.ui)
 add_library(crystal-dock_lib STATIC ${SRCS})
 
-set(LIBS Qt6::DBus Qt6::GuiPrivate Qt6::Widgets Wayland::Client LayerShellQt::Interface stdc++fs)
+set(LIBS Qt6::DBus Qt6::GuiPrivate Qt6::Widgets Wayland::Client LayerShellQt::Interface)
 target_link_libraries(crystal-dock_lib ${LIBS})
 
 add_executable(crystal-dock main.cc)