mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Implement niri msg workspaces
This commit is contained in:
committed by
Ivan Molodetskikh
parent
a2f74c9bff
commit
36d3e70f11
@@ -12,6 +12,7 @@ use _server_decoration::server::org_kde_kwin_server_decoration_manager::Mode as
|
||||
use anyhow::{ensure, Context};
|
||||
use calloop::futures::Scheduler;
|
||||
use niri_config::{Config, Key, Modifiers, PreviewRender, TrackLayout, WorkspaceReference};
|
||||
use niri_ipc::Workspace;
|
||||
use smithay::backend::allocator::Fourcc;
|
||||
use smithay::backend::renderer::damage::OutputDamageTracker;
|
||||
use smithay::backend::renderer::element::memory::MemoryRenderBufferRenderElement;
|
||||
@@ -3934,6 +3935,10 @@ impl Niri {
|
||||
self.queue_redraw_all();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn ipc_workspaces(&self) -> Vec<Workspace> {
|
||||
self.layout.ipc_workspaces()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ClientState {
|
||||
|
||||
Reference in New Issue
Block a user