https://github.com/WayfireWM/wf-shell/commit/e248716a804d68f7aa3465e50347023cd56edbbf From e248716a804d68f7aa3465e50347023cd56edbbf Mon Sep 17 00:00:00 2001 From: Gurkul Sahoo Date: Fri, 7 Aug 2026 18:31:28 +0530 Subject: [PATCH] locker: fix Clang build failure in switch on WfOption Clang rejects the implicit decltype(auto) conversion operator from base_option_wrapper_t as a valid contextual conversion for switch, while GCC accepts it. Use the explicit .value() accessor instead. --- a/src/locker/timedrevealer.cpp +++ b/src/locker/timedrevealer.cpp @@ -18,7 +18,7 @@ WayfireLockerTimedRevealer::WayfireLockerTimedRevealer(std::string always_option auto hide_callback = [this] () { Gtk::RevealerTransitionType type = Gtk::RevealerTransitionType::NONE; - switch (hide_animation) + switch (hide_animation.value()) { case 1: type = Gtk::RevealerTransitionType::CROSSFADE;