Skip to content

Commit 04e6977

Browse files
committed
bump version
1 parent 4312998 commit 04e6977

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

data/org.fcitx.Fcitx5.metainfo.xml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
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"/>

src/lib/fcitx-utils/dbus/servicewatcher.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

src/modules/xcb/xcbeventreader.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)