Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagmaWM/MagmaWM
/ functions
Functions
176 in github.com/MagmaWM/MagmaWM
⨍
Functions
176
◇
Types & classes
39
↓ 35 callers
Method
wl_surface
(&self)
src/utils/focus.rs:297
↓ 20 callers
Method
iter
(&mut self)
src/utils/workspace.rs:204
↓ 18 callers
Method
current
(&self)
src/utils/workspace.rs:212
↓ 13 callers
Method
outputs
(&self)
src/utils/workspace.rs:124
↓ 12 callers
Method
insert
( &mut self, window: Rc<RefCell<MagmaWindow>>, splitnew: HorizontalOrVertical,
src/utils/binarytree.rs:51
↓ 7 callers
Method
geometry
(&self, scale: Scale<f64>)
src/utils/render/mod.rs:83
↓ 6 callers
Method
all_windows
(&self)
src/utils/workspace.rs:216
↓ 6 callers
Function
bsp_update_layout
(workspace: &mut Workspace)
src/utils/tiling.rs:15
↓ 6 callers
Method
set_input_focus_auto
(&mut self)
src/handlers/input.rs:319
↓ 5 callers
Method
render
( &mut self, node: DrmNode, crtc: crtc::Handle, screencopy: Option<Screencopy>
src/backends/udev.rs:667
↓ 4 callers
Method
failed
(self)
src/protocols/screencopy/frame.rs:112
↓ 4 callers
Method
output_geometry
(&self, o: &Output)
src/utils/workspace.rs:136
↓ 4 callers
Method
windows
(&self)
src/utils/workspace.rs:56
↓ 3 callers
Method
frame_time
(&self)
src/debug.rs:320
↓ 3 callers
Method
id
(&self)
src/utils/render/mod.rs:56
↓ 3 callers
Method
init
(renderer: &mut GlowRenderer)
src/utils/render/border.rs:28
↓ 3 callers
Method
output
(&mut self, output: &WlOutput)
src/backends/udev.rs:956
↓ 3 callers
Method
set_input_focus
(&mut self, target: FocusTarget)
src/handlers/input.rs:313
↓ 3 callers
Function
spawn
(command: &str)
src/utils/process.rs:4
↓ 3 callers
Method
surface_under
(&self)
src/state.rs:189
↓ 2 callers
Method
activate
(&mut self, id: u8)
src/utils/workspace.rs:226
↓ 2 callers
Method
add_output
(&mut self, output: Output)
src/utils/workspace.rs:128
↓ 2 callers
Method
add_window
(&mut self, window: Rc<RefCell<MagmaWindow>>)
src/utils/workspace.rs:66
↓ 2 callers
Method
bind
( _state: &mut D, _display: &DisplayHandle, _client: &Client, manager: New<Zwl
src/protocols/screencopy/mod.rs:45
↓ 2 callers
Method
buffer
Get the target buffer to copy to.
src/protocols/screencopy/frame.rs:76
↓ 2 callers
Method
button
( &self, seat: &Seat<MagmaState<BackendData>>, data: &mut MagmaState<BackendData>,
src/utils/focus.rs:89
↓ 2 callers
Method
clamp_coords
(&self, pos: Point<f64, Logical>)
src/handlers/input.rs:295
↓ 2 callers
Method
cleanup
(renderer: &mut GlowRenderer)
src/utils/render/border.rs:146
↓ 2 callers
Method
current_mut
(&mut self)
src/utils/workspace.rs:208
↓ 2 callers
Method
displayed
(&mut self)
src/debug.rs:382
↓ 2 callers
Method
elements
(&mut self)
src/debug.rs:357
↓ 2 callers
Function
filter
Creates a filter with the value of `log_level` if it is `Some`, or the `RUST_LOG` environment variable if it is `None`, or `DEFAULT_LOG_LEVEL` if neit
src/utils/log.rs:91
↓ 2 callers
Method
global_ui
( &mut self, gpu: Option<&DrmNode>, output: &Output, seat: &Seat<MagmaState<Ba
src/debug.rs:43
↓ 2 callers
Method
handle_action
(&mut self, action: Action)
src/handlers/input.rs:326
↓ 2 callers
Function
init_shaders
(renderer: &mut GlowRenderer)
src/utils/render/mod.rs:418
↓ 2 callers
Function
init_udev
()
src/backends/udev.rs:145
↓ 2 callers
Function
init_winit
()
src/backends/winit.rs:79
↓ 2 callers
Method
motion
( &self, seat: &Seat<MagmaState<BackendData>>, data: &mut MagmaState<BackendData>,
src/utils/focus.rs:55
↓ 2 callers
Method
on_device_added
(&mut self, node: DrmNode, path: PathBuf, display: &mut DisplayHandle)
src/backends/udev.rs:396
↓ 2 callers
Method
on_device_changed
(&mut self, node: DrmNode, display: &mut DisplayHandle)
src/backends/udev.rs:450
↓ 2 callers
Method
on_device_removed
(&mut self, node: DrmNode)
src/backends/udev.rs:458
↓ 2 callers
Method
on_udev_event
(&mut self, event: UdevEvent, display: &mut DisplayHandle)
src/backends/udev.rs:376
↓ 2 callers
Method
process_input_event
(&mut self, event: InputEvent<I>)
src/handlers/input.rs:102
↓ 2 callers
Method
remove
(&mut self, window: &Window)
src/utils/binarytree.rs:80
↓ 2 callers
Method
remove_window
(&mut self, window: &Window)
src/utils/workspace.rs:76
↓ 2 callers
Method
render_elements
( &self, renderer: &mut R, )
src/utils/workspace.rs:91
↓ 2 callers
Method
render_location
(&self)
src/utils/workspace.rs:37
↓ 2 callers
Method
start
(&mut self)
src/debug.rs:347
↓ 2 callers
Method
submit
Submit the copied content.
src/protocols/screencopy/frame.rs:98
↓ 2 callers
Method
window_under
( &self, point: P, )
src/utils/workspace.rs:154
↓ 2 callers
Method
workspace_from_window
(&mut self, window: &Window)
src/utils/workspace.rs:220
↓ 1 callers
Method
alive
(&self)
src/utils/focus.rs:25
↓ 1 callers
Method
avg_fps
(&self)
src/debug.rs:398
↓ 1 callers
Method
avg_frametime
(&self)
src/debug.rs:427
↓ 1 callers
Method
axis
( &self, seat: &Seat<MagmaState<BackendData>>, data: &mut MagmaState<BackendData>,
src/utils/focus.rs:105
↓ 1 callers
Method
bbox
(&self)
src/utils/workspace.rs:31
↓ 1 callers
Method
contains_window
(&self, window: &Window)
src/utils/workspace.rs:176
↓ 1 callers
Method
damage
Mark damaged regions of the screencopy buffer.
src/protocols/screencopy/frame.rs:86
↓ 1 callers
Function
default_autostart
()
src/config/mod.rs:172
↓ 1 callers
Function
default_borders
()
src/config/mod.rs:180
↓ 1 callers
Function
default_gaps
()
src/config/mod.rs:164
↓ 1 callers
Function
default_outputs
()
src/config/mod.rs:176
↓ 1 callers
Function
default_xkb
()
src/config/mod.rs:168
↓ 1 callers
Method
eq
(&self, other: &ModifiersState)
src/config/types.rs:117
↓ 1 callers
Method
frame
(&self, _seat: &Seat<MagmaState<BackendData>>, _data: &mut MagmaState<BackendData>)
src/utils/focus.rs:137
↓ 1 callers
Function
generate_config
()
src/config/mod.rs:54
↓ 1 callers
Function
generate_layout
( tree: &mut BinaryTree, lastwin: &Rc<RefCell<MagmaWindow>>, lastgeo: Rectangle<i32, Logical>,
src/utils/tiling.rs:77
↓ 1 callers
Method
glow_renderer_mut
(&mut self)
src/utils/render/mod.rs:237
↓ 1 callers
Function
handle_commit
Should be called on `WlSurface::commit`
src/handlers/xdg_shell.rs:92
↓ 1 callers
Function
init_backend_auto
()
src/backends/mod.rs:6
↓ 1 callers
Function
init_logs
Initialize logging for the application. Creates log dir `~/.local/share/MagmaWM` if it does not exist Creates a timestamped log file: `magma_YYYY-MM-
src/utils/log.rs:31
↓ 1 callers
Method
location
(&self, scale: Scale<f64>)
src/utils/render/mod.rs:92
↓ 1 callers
Method
magmawindows
(&self)
src/utils/workspace.rs:62
↓ 1 callers
Method
max_frametime
(&self)
src/debug.rs:412
↓ 1 callers
Method
min_frametime
(&self)
src/debug.rs:420
↓ 1 callers
Method
mode_refresh
(&self)
src/config/mod.rs:49
↓ 1 callers
Method
mode_size
(&self)
src/config/mod.rs:45
↓ 1 callers
Method
move_window_to_workspace
(&mut self, window: &Window, workspace: u8)
src/utils/workspace.rs:229
↓ 1 callers
Method
next_split
(&self)
src/utils/binarytree.rs:113
↓ 1 callers
Method
on_connector_event
( &mut self, node: DrmNode, event: DrmScanEvent, display: &mut DisplayHandle,
src/backends/udev.rs:498
↓ 1 callers
Method
on_drm_event
( &mut self, node: DrmNode, event: drm::DrmEvent, _meta: &mut Option<drm::DrmE
src/backends/udev.rs:478
↓ 1 callers
Function
primary_gpu
(seat: &str)
src/backends/udev.rs:346
↓ 1 callers
Method
process_input_event_udev
( &mut self, event: InputEvent<LibinputInputBackend>, )
src/handlers/input.rs:28
↓ 1 callers
Method
region
Get the region which should be copied.
src/protocols/screencopy/frame.rs:81
↓ 1 callers
Method
relative_motion
( &self, seat: &Seat<MagmaState<BackendData>>, data: &mut MagmaState<BackendData>,
src/utils/focus.rs:71
↓ 1 callers
Method
remove_output
(&mut self, output: &Output)
src/utils/workspace.rs:132
↓ 1 callers
Method
render
(&mut self)
src/debug.rs:363
↓ 1 callers
Method
screencopy
(&mut self)
src/debug.rs:372
↓ 1 callers
Method
seat_name
(&self)
src/backends/udev.rs:123
↓ 1 callers
Method
time_to_display
(&self)
src/debug.rs:326
↓ 1 callers
Method
window_under
(&mut self)
src/state.rs:182
↓ 1 callers
Function
winit_dispatch
( winit: &mut WinitEventLoop, data: &mut CalloopData<WinitData>, output: &Output, full_redraw:
src/backends/winit.rs:208
↓ 1 callers
Function
wrap_window_surface
wraps the parent surface of a window in a window element for rendering
src/utils/render/mod.rs:399
Method
add_assign
(&mut self, rhs: KeyModifier)
src/config/types.rs:106
Method
alpha
(&self)
src/utils/render/mod.rs:302
Method
buffer_destroyed
( &mut self, _buffer: &smithay::reexports::wayland_server::protocol::wl_buffer::WlBuffer,
src/handlers/mod.rs:77
Method
client_compositor_state
(&self, client: &'a Client)
src/handlers/mod.rs:50
Method
commit
(&mut self, surface: &WlSurface)
src/handlers/mod.rs:54
Method
compositor_state
(&mut self)
src/handlers/mod.rs:46
Method
current_commit
(&self)
src/utils/render/mod.rs:65
next →
1–100 of 176, ranked by callers