aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-04-25layout: Move insert hint from ScrollingSpace to MonitorIvan Molodetskikh
2025-04-25layout: Return floating and scrolling elems separately from WorkspaceIvan Molodetskikh
2025-04-25layout/tab_indicator: Use round_max1 where appropriateIvan Molodetskikh
2025-04-25layout/monitor: Extract workspace_render_idx()Ivan Molodetskikh
2025-04-25layout/monitor: Extract workspaces_render_geo()Ivan Molodetskikh
2025-04-25Simplify conditionIvan Molodetskikh
2025-04-25Extract is_layout_obscured_under()Ivan Molodetskikh
2025-04-25Put the top layer above bottom and background layer popupsIvan Molodetskikh
Makes it consistent with how window popups are below the top layer, also will make more sense for the overview.
2025-04-25Reformat scroll factor computationIvan Molodetskikh
2025-04-25layout/monitor: Extract WorkspaceSwitchGesture::min_max()Ivan Molodetskikh
2025-04-25layout/monitor: Keep track of workspace switch gesture start idxIvan Molodetskikh
Fixes jump when "catching" an animation with a gesture.
2025-04-25Remove cancellation from swipe gesturesIvan Molodetskikh
It only worked for workspace switch, and even there it was more confusing than helpful.
2025-04-25Add missing bounds checks to move-workspace actionsIvan Molodetskikh
Fixes panics.
2025-04-17layout: Extract Monitor::update_shaders()Ivan Molodetskikh
2025-04-17layout: Remove width and is_full_width from InsertHintIvan Molodetskikh
They were unused.
2025-04-17layout: Don't pass scale to render unnecessarilyIvan Molodetskikh
These parts of the layout already know their scale.
2025-04-17Rename render_floating_for_output to render_interactive_move_for_outputIvan Molodetskikh
2025-04-17animation: Extract value_at() and fix animations off differenceIvan Molodetskikh
2025-04-17animation: Add more gettersIvan Molodetskikh
2025-04-16animation: Fix restarted() Spring using old from/toIvan Molodetskikh
2025-04-16Back out "chore: update smithay"Ivan Molodetskikh
This backs out commit 763cd564e32932e5f05b983c93328300f396216b. There are graphical glitches and a panic.
2025-04-15chore: update smithaySimonas Kazlauskas
2025-04-10layout: Take into account idle time between last gesture event and endIvan Molodetskikh
Fixes cases like: do a quick movement with mouse, then hold it in-place for a while (no events generated), then release the gesture (it uses all that built-up speed). This also happens with DnD scroll and makes it go further than intended.
2025-04-06Fix typo in commentIvan Molodetskikh
2025-04-05layout: Avoid calling interactive_move_end() in the middle of ↵Ivan Molodetskikh
interactive_move_update()
2025-04-04input: Fix move-workspace-to-index being one offIvan Molodetskikh
2025-04-04input: Don't panic on resize edge None when window is SomeIvan Molodetskikh
This can already happen with the tab indicator, it will happen more onwards.
2025-04-03layout/scrolling: Use slice::fill()Ivan Molodetskikh
Fix new Clippy warning.
2025-03-31layout: Reset unfullscreen view offset when starting interactive resizeIvan Molodetskikh
2025-03-31Allow negative shadow spreadLunarEclipse
2025-03-29Fix typo in commentpeelz
2025-03-29Add option 'focus-at-startup' to focus a chosen output on start (#1323)lualeet
* Implement default-output * Fix incorrect wiki string * Center mouse on start * Move default-output to Output.focus-at-startup * fixes --------- Co-authored-by: lualeet <lualeet@null.null> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-29layout: Remove duplicated functionIvan Molodetskikh
2025-03-29Make move-window-to-workspace focus=false work across monitors tooIvan Molodetskikh
2025-03-29screenshot: make selection area modifiable via move/resize keybinds (#1279)nyx
* screenshot: make selection area modifiable via keybinds * input: run fmt * Reimplement screenshot UI binds in a better way --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-29Add focus argument to move-window-to-workspace (#1332)nyx
* layout: add focus flag to move-window-to-workspace * lib: update comment * misc: minor dup refactor * input: format code * layout: minor nit * layout: update comment * input: remove unnecessary conditionals * misc: replace boolean * tests: fix the failing one * layout: change to smart * ipc: Option<bool> -> bool * lib: format code * Rewrite focus doc comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-23Don't block things out for pick-colorIvan Molodetskikh
It's interactive so it's fine.
2025-03-23dbus/gnome_shell_screenshot: Fix pick_color return typeIvan Molodetskikh
2025-03-22input: Suppress release from Pick grab clicksIvan Molodetskikh
Otherwise, it would trigger something inside the window.
2025-03-22feat: support color picker functionalitynnyyxxxx
chore: format code refactor: improve quality feat: implement gnomes PickColor method refactor: minor code extraction misc: fix reviews fixes
2025-03-22layout: Reset unfullscreen view offset when removing windowIvan Molodetskikh
Another old bug found by randomized tests after I expanded the testing mock window.
2025-03-22main: Log to stderr instead of stdoutJon Heinritz
Currently we can't use logging in paths like niri msg that have meaningful stdout. Logging to stderr makes that possible. Even if we don't want to log anything in niri msg code paths, it's easy to have something accidentally log.
2025-03-22Add option to warp-mouse-to-focus to always centerFlorian Finkernagel
2025-03-22hotkey_overlay: rename ISO_Level{3,5}_Shift to Mod{5,3}peelz
2025-03-22Add mod-key and mod-key-nested settingspeelz
2025-03-17Track uncommitted windowed fullscreen stateIvan Molodetskikh
Alright, this is the proper implementation. No more flickering.
2025-03-17Implement toggle-windowed-fullscreenIvan Molodetskikh
Windowed, or fake, or detached, fullscreen, is when a window thinks that it's fullscreen, but the compositor treats it as a normal window.
2025-03-17layout: Rename argument from window to idIvan Molodetskikh
2025-03-17layout: Don't forget to call on_commit() for the interactively moved windowIvan Molodetskikh
2025-03-17layout/tests: Implement going into fullscreen stateIvan Molodetskikh