Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ set shell id.
- Fixed partial socket reads in greetd and hyprland on slow machines.
- Worked around Qt bug causing crashes when plugging and unplugging monitors.
- Fixed HyprlandFocusGrab crashing if windows were destroyed after being passed to it.
- Fixed `I3Workspace.activate()` sending invalid commands to i3/sway for named or special workspaces.

## Packaging Changes

Expand Down
2 changes: 1 addition & 1 deletion src/x11/i3/ipc/workspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void I3Workspace::updateFromObject(const QVariantMap& obj) {
}

void I3Workspace::activate() {
this->ipc->dispatch(QString("workspace number %1").arg(this->bNumber.value()));
this->ipc->dispatch(QString("workspace %1").arg(this->bName.value()));
}

} // namespace qs::i3::ipc
2 changes: 1 addition & 1 deletion src/x11/i3/ipc/workspace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class I3Workspace: public QObject {
///
/// > [!NOTE] This is equivalent to running
/// > ```qml
/// > I3.dispatch(`workspace number ${workspace.number}`);
/// > I3.dispatch(`workspace ${workspace.name}`);
/// > ```
Q_INVOKABLE void activate();

Expand Down
Loading