aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-01-25Add move-workspace-to-index and move-workspace-to-monitor actions (#1007)Kirottu
* Added move-workspace-to-index and move-workspace-to-monitor IPC actions * Added redraws to the workspace handling actions, fixed tests that panicked, fixed other mentioned problems. * Fixed workspace focusing and handling numbered workspaces with `move-workspace-to-index` * Fixed more inconsistencies with move-workspace-to-monitor * Added back `self.workspace_switch = None` * Reordered some workspace cleanup logic * Fix formatting * Add missing blank lines * Fix moving workspace to same monitor and wrong current index updating * Move function up and add fixme comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-25Add clipboard disable-primary settingpeelz
2025-01-23Add `scroll-factor` window rulebbb651
2025-01-23Add find_root_shell_surface() that goes through popupsIvan Molodetskikh
2025-01-23Add toggle-window-rule-opacity actionIvan Molodetskikh
2025-01-21Implement shadows for layer surfacesIvan Molodetskikh
2025-01-21Extract Niri::update_shaders()Ivan Molodetskikh
2025-01-21Add update_render_elements() to MappedLayerIvan Molodetskikh
2025-01-21tile: Rename update() to update_render_elements()Ivan Molodetskikh
2025-01-21Fix two commentsIvan Molodetskikh
2025-01-18Remove Vec from Shadow::render()Ivan Molodetskikh
2025-01-18implement `keyboard-shortcuts-inhibit` and `wlr-virtual-pointer` (#630)sodiboo
* stub keyboard-shortcuts-inhibit and virtual-pointer impls * implement keyboard-shortcuts-inhibit * implement virtual-pointer * deal with supressed key release edge-case; add allow-inhibiting property * add toggle-keyboard-shortcuts-inhibit bind * add InputBackend extensions; use Device::output() for absolute pos events * add a `State` parameter to the backend exts and better document future intent * Add some tests for is_inhibiting_shortcuts --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-17Implement window shadowsIvan Molodetskikh
2025-01-17dbus: DisplayConfig: implement apply_monitors_configVal Packett
This enables gnome-control-center to apply display configuration changes. Only temporarily, persistence is ignored currently.
2025-01-17dbus: DisplayConfig: report fractional scales as supportedVal Packett
2025-01-17dbus: DisplayConfig: report disabled monitors in get_current_stateVal Packett
This is required for gnome-control-center to be able to turn monitors back on.
2025-01-17dbus: DisplayConfig: add properties required by display settings panelVal Packett
2025-01-15Remove obsolete commentIvan Molodetskikh
2025-01-15Rename FoIPosition to FloatingPositionIvan Molodetskikh
2025-01-14clipped_surface: Store complete uniforms in the structIvan Molodetskikh
This mistake shall never happen again.
2025-01-14Add missing clipped surface uniformIvan Molodetskikh
2025-01-14add write-to-disk argument to screenshot actionsGustav Sörnäs
2025-01-13Support `WAYLAND_SOCKET` in winit backendbbb651
I know of a single compositor that supports `WAYLAND_SOCKET` but not `WAYLAND_DISPLAY`: https://gitlab.freedesktop.org/mstoeckl/windowtolayer This should also make niri more robust against accidentally setting `WAYLAND_SOCKET` when starting as a session, before programs could fail if they preffered `WAYLAND_SOCKET` over `WAYLAND_DISPLAY`
2025-01-12use standard padding syntax instead of implementing our ownsodiboo
the padding of the two-digit-month can be implemented much more concisely using `std::fmt` syntax.
2025-01-10Format version as calver automaticallyIvan Molodetskikh
2025-01-10Add NIRI_BUILD_COMMIT env variable overrideIvan Molodetskikh
2025-01-10Add NIRI_BUILD_VERSION_STRING env variable to override the versionIvan Molodetskikh
2025-01-10Fix two manual let-elseIvan Molodetskikh
2025-01-10Fix new Clippy warningsIvan Molodetskikh
2025-01-10Allow workspace names to be changed dynamically (#904)rustn00b
* Add un/set workspace name actions * Add SetWorkspaceName reference to proptests * Simplify unname_workspace * Add ewaf version of set first workspace name test * Simplify more * Fix comment * Make workspace in set-workspace-name a positional option --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-09Add missing interactively moved window check in center_windowIvan Molodetskikh
2025-01-09Add a window swap operation (#899)rustn00b
Swap the active window with the a neighboring column's active window. --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> Take into account PR comments - no longer behave like an expel when a swap is made in a direction where there is no column to swap with - fix janky animation
2025-01-09Add missing cursor warp when focusing floating/tilingIvan Molodetskikh
2025-01-09Force-update insta snapshotsIvan Molodetskikh
1.42.0 reverted a 1.41.0 change to snapshot metadata.
2025-01-05Set is-active-in-column to true for unmapped windows (#934)Frans Skarman
* Set is-active-in-column to true for unmapped windows * Update wiki/Configuration:-Window-Rules.md --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-04Search for connector duplicates across all devicesIvan Molodetskikh
2025-01-04Unname connector if a duplicate is detectedIvan Molodetskikh
2025-01-04Fetch monitor name from EDID only onceIvan Molodetskikh
Reduce spam when it's unavailable. Assume the name cannot change at runtime; before if it changed, bad things would probably happen anyway.
2025-01-04Default to unrestricted primary plane scanoutIvan Molodetskikh
2025-01-04Restart PipeWire on errorsIvan Molodetskikh
This lets you restart pipewire and then get a screencast successfully.
2025-01-04Add Xrgb/Xbgr to color formatsIvan Molodetskikh
At least until the scanout check is fixed in Smithay again.
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2025-01-04Upgrade Smithay (DrmCompositor changes)Ivan Molodetskikh
2025-01-03Add floating binds to the hotkey overlayIvan Molodetskikh
2025-01-03Clear on-demand layer-shell focus in more casesIvan Molodetskikh
2025-01-03Allow keyboard focus for bottom and background layersIvan Molodetskikh
2025-01-03Allow pop-up grabs for bottom and background layersIvan Molodetskikh
2025-01-03Render layer-shell pop-ups on topIvan Molodetskikh
2025-01-02Add actions to focus/move to next/previous monitorJulian Schuler
2025-01-02Add `Mouse{Left,Right,Middle,Back,Forward}` bindsbbb651