Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Apr 22, 2024
1 parent 4312998 commit 04e6977
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions data/org.fcitx.Fcitx5.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<binary>fcitx5</binary>
</provides>
<releases>
<release version="5.1.9" date="2024-04-22"/>
<release version="5.1.8" date="2024-02-28"/>
<release version="5.1.7" date="2024-01-15"/>
<release version="5.1.6" date="2024-01-02"/>
Expand Down
7 changes: 4 additions & 3 deletions src/lib/fcitx-utils/dbus/servicewatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ class ServiceWatcherPrivate : public TrackableObject<ServiceWatcherPrivate> {
if (msg.type() != dbus::MessageType::Error) {
msg >> newName;
} else {
if (msg.errorName() != "org.freedesktop.DBus.Error.NameHasNoOwner") {
return false;
}
if (msg.errorName() !=
"org.freedesktop.DBus.Error.NameHasNoOwner") {
return false;
}
}
for (auto &entry : watcherMap_.view(pivotKey)) {
entry(pivotKey, "", newName);
Expand Down
5 changes: 3 additions & 2 deletions src/modules/xcb/xcbeventreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ bool XCBEventReader::onIOEvent(IOEventFlags flags) {
hadError_ = true;
FCITX_WARN() << "XCB connection \"" << conn_->name()
<< "\" got error: " << err;
dispatcherToMain_.scheduleWithContext(watch(),[this]() {
dispatcherToMain_.scheduleWithContext(watch(), [this]() {
deferEvent_ =
conn_->parent()->instance()->eventLoop().addDeferEvent(
[this](EventSource *) {
Expand All @@ -72,7 +72,8 @@ bool XCBEventReader::onIOEvent(IOEventFlags flags) {
hasEvent = !events_.empty();
}
if (hasEvent) {
dispatcherToMain_.scheduleWithContext(watch(), [this]() { conn_->processEvent(); });
dispatcherToMain_.scheduleWithContext(
watch(), [this]() { conn_->processEvent(); });
}
return true;
}
Expand Down

0 comments on commit 04e6977

Please sign in to comment.