File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3131 <binary >fcitx5</binary >
3232 </provides >
3333 <releases >
34+ <release version =" 5.1.9" date =" 2024-04-22" />
3435 <release version =" 5.1.8" date =" 2024-02-28" />
3536 <release version =" 5.1.7" date =" 2024-01-15" />
3637 <release version =" 5.1.6" date =" 2024-01-02" />
Original file line number Diff line number Diff line change @@ -41,9 +41,10 @@ class ServiceWatcherPrivate : public TrackableObject<ServiceWatcherPrivate> {
4141 if (msg.type () != dbus::MessageType::Error) {
4242 msg >> newName;
4343 } else {
44- if (msg.errorName () != " org.freedesktop.DBus.Error.NameHasNoOwner" ) {
45- return false ;
46- }
44+ if (msg.errorName () !=
45+ " org.freedesktop.DBus.Error.NameHasNoOwner" ) {
46+ return false ;
47+ }
4748 }
4849 for (auto &entry : watcherMap_.view (pivotKey)) {
4950 entry (pivotKey, " " , newName);
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ bool XCBEventReader::onIOEvent(IOEventFlags flags) {
5050 hadError_ = true ;
5151 FCITX_WARN () << " XCB connection \" " << conn_->name ()
5252 << " \" got error: " << err;
53- dispatcherToMain_.scheduleWithContext (watch (),[this ]() {
53+ dispatcherToMain_.scheduleWithContext (watch (), [this ]() {
5454 deferEvent_ =
5555 conn_->parent ()->instance ()->eventLoop ().addDeferEvent (
5656 [this ](EventSource *) {
@@ -72,7 +72,8 @@ bool XCBEventReader::onIOEvent(IOEventFlags flags) {
7272 hasEvent = !events_.empty ();
7373 }
7474 if (hasEvent) {
75- dispatcherToMain_.scheduleWithContext (watch (), [this ]() { conn_->processEvent (); });
75+ dispatcherToMain_.scheduleWithContext (
76+ watch (), [this ]() { conn_->processEvent (); });
7677 }
7778 return true ;
7879}
You can’t perform that action at this time.
0 commit comments