aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-03Make rendering generic over rendererIvan Molodetskikh
2024-01-03Replace renderer() with with_primary_renderer()Ivan Molodetskikh
2024-01-03Rename RenderResult::Error to SkippedIvan Molodetskikh
2024-01-03Move Niri::render() invocation to backendsIvan Molodetskikh
2024-01-03Render again for screencastIvan Molodetskikh
Will be needed when multi-gpu support is added.
2024-01-03Move import_dmabuf to backendsIvan Molodetskikh
2024-01-03Add disable-cursor-plane debug flagIvan Molodetskikh
2024-01-03tty: Extract config variableIvan Molodetskikh
2024-01-01layout: Make generic over RendererIvan Molodetskikh
2024-01-01tty: Don't store render formatsIvan Molodetskikh
Actually, how did it even fork before? Pretty sure it was storing render formats, not texture formats, but with render formats weston-simple-dmabuf-feedback doesn't work?
2024-01-01tty: Disable dmabuf global before destroyingIvan Molodetskikh
2024-01-01tty: Move dmabuf_global up into TtyIvan Molodetskikh
2024-01-01tty: Fix import sortingIvan Molodetskikh
One of the imports was too long so rustfmt bailed.
2023-12-31Move DmabufState to NiriIvan Molodetskikh
2023-12-31Enable EGL for the winit backendIvan Molodetskikh
More relevant now that mesa on Fedora is trying to force non-working Zink for some reason.
2023-12-29Use remove/insert for columns instead of swappingIvan Molodetskikh
Now with move-to-first/last this is relevant.
2023-12-29Add randomized border to proptestIvan Molodetskikh
2023-12-29Add test with i32::MAX max_sizeIvan Molodetskikh
2023-12-29Use saturating_sub in window_height_for_tile_height()Ivan Molodetskikh
2023-12-29Add move-column-to-{first,last}Ivan Molodetskikh
2023-12-29layout: Extract move_column_to()Ivan Molodetskikh
2023-12-29Add focus-column-{first,last}Ivan Molodetskikh
2023-12-28layout: Use saturating_add() in several placesIvan Molodetskikh
Apparently VSCode sends i32::MAX worth of max_size?
2023-12-28Fix unfullscreening not always updating view offsetIvan Molodetskikh
2023-12-28Add disable-power-key-handling optionIvan Molodetskikh
2023-12-28Activate windows only on active monitorsIvan Molodetskikh
This matches what we do in advance_animations().
2023-12-28Activate windows when clicking on the borderIvan Molodetskikh
2023-12-28Rename window -> tile, fix popup unconstraining window_yIvan Molodetskikh
I missed the window_y thing and found it thanks to the rename. Too lazy to split it into a commit.
2023-12-27layout: Refactor to support window decorations, add border and fullscreen ↵Ivan Molodetskikh
backdrop Windows are now wrapped in Tiles, which keep track of window-specific decorations. Particularly, I implemented a black fullscreen backdrop, which finally brings fullscreened windows smaller than the screen in line with how the Wayland protocol says they should look—centered in a black rectangle. I also implemented window borders, which are similar to the focus ring, but always visible (and hence affect the layout and sizing).
2023-12-26Make LayoutElement more visual-geometry-basedIvan Molodetskikh
2023-12-26Use correct type alias in FocusRing::renderIvan Molodetskikh
2023-12-26layout: Add Column::positionIvan Molodetskikh
2023-12-25layout: Use column.contains moreIvan Molodetskikh
2023-12-24Remove dependency of LayoutElement on SpaceElementIvan Molodetskikh
2023-12-24Remove Clone bound from LayoutElementIvan Molodetskikh
It is no longer necessary.
2023-12-24Remove unnecessary window cloneIvan Molodetskikh
2023-12-24Add and use remove_window_by_idxIvan Molodetskikh
2023-12-24Remove clones from active_windowIvan Molodetskikh
2023-12-24Move clones up from find_window_and_outputIvan Molodetskikh
2023-12-24Split layout mod into filesIvan Molodetskikh
No functional change intended.
2023-12-24Move output_size to utilsIvan Molodetskikh
2023-12-24Move layout.rs into its own moduleIvan Molodetskikh
2023-12-21Implement pointer-constraintsIvan Molodetskikh
2023-12-21Update tablet cursor location higher upIvan Molodetskikh
2023-12-21Add configurable strutsIvan Molodetskikh
2023-12-20Try unconstraining popups with padding firstIvan Molodetskikh
2023-12-19Implement popup unconstrainingIvan Molodetskikh
Using my new Smithay implementation.
2023-12-19Update SmithayIvan Molodetskikh
2023-12-19Fix some cases of incomplete search for surface outputIvan Molodetskikh
Most visibly, fixes screen not immediately redrawing upon layer-shell popup commits. There's still a number of places with questionable handling left, mostly to do with subsurfaces (like, find_popup_root_surface() doesn't go up to subsurfaces), and session-lock. I don't have good clients to test these.
2023-12-19Add optional fallback to workspace focus/move for window focus/move (#93)Matt Cuneo
* Add optional fallback to workspace focus/move for window focus/move commands * Refactored to separate commands * fix indentation * fix white space * Stylistic fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>