mirror of
git://slackware.nl/current.git
synced 2025-01-06 05:25:20 +01:00
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
From 7fb3a5500270877d93b61b11b2a17b9b8f6a506b Mon Sep 17 00:00:00 2001
|
||
|
From: Weng Xuetian <wengxt@gmail.com>
|
||
|
Date: Sat, 20 May 2023 20:02:24 -0700
|
||
|
Subject: [PATCH] Fix compatiblity with fmt 10.0
|
||
|
|
||
|
Fix #797
|
||
|
---
|
||
|
src/modules/dbus/dbusmodule.cpp | 5 +++--
|
||
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/src/modules/dbus/dbusmodule.cpp b/src/modules/dbus/dbusmodule.cpp
|
||
|
index a7196676..6bebee30 100644
|
||
|
--- a/src/modules/dbus/dbusmodule.cpp
|
||
|
+++ b/src/modules/dbus/dbusmodule.cpp
|
||
|
@@ -570,8 +570,9 @@ class Controller1 : public ObjectVTable<Controller1> {
|
||
|
ss << fmt::format("{:02x}", static_cast<int>(v));
|
||
|
}
|
||
|
ss << "] program:" << ic->program()
|
||
|
- << " frontend:" << ic->frontend()
|
||
|
- << " cap:" << fmt::format("{:x}", ic->capabilityFlags())
|
||
|
+ << " frontend:" << ic->frontend() << " cap:"
|
||
|
+ << fmt::format("{:x}",
|
||
|
+ static_cast<uint64_t>(ic->capabilityFlags()))
|
||
|
<< " focus:" << ic->hasFocus() << std::endl;
|
||
|
return true;
|
||
|
});
|