Skip to content

Commit

Permalink
i3/ipc: fix wrong event handler being called for GetWorkspaces
Browse files Browse the repository at this point in the history
Prevented the workspace list from being initialized correctly.
  • Loading branch information
outfoxxed committed Jan 30, 2025
1 parent d58b7b5 commit fb326e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x11/i3/ipc/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ void I3Ipc::onEvent(I3IpcEvent* event) {
return;
case EventCode::Subscribe: qCInfo(logI3Ipc) << "Connected to IPC"; return;
case EventCode::GetOutputs: this->handleGetOutputsEvent(event); return;
case EventCode::GetWorkspaces: this->handleWorkspaceEvent(event); return;
case EventCode::GetWorkspaces: this->handleGetWorkspacesEvent(event); return;
case EventCode::RunCommand: I3Ipc::handleRunCommand(event); return;
case EventCode::Unknown:
qCWarning(logI3Ipc) << "Unknown event:" << event->type() << event->data();
Expand Down

0 comments on commit fb326e0

Please sign in to comment.