aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-03-02Make vertical touchpad swipe inertialIvan Molodetskikh
Values and implementation are heavily inspired by AdwSwipeTracker.
2024-03-02Disentangle frame callback sequence from real DRM sequenceIvan Molodetskikh
It can currently happen that the estimated VBlank timer fires right before a real VBlank, which can cause some sequence collisions, which might cause frame callbacks to never be sent. To prevent this, just track the frame callback sequence fully separately. There isn't really any harm in this, and if we accidentally increment it more frequently than necessary then nothing terrible will happen.
2024-03-01Correctly handle parsing of Binds and DefaultColumnWidth (#234)sodiboo
* add dev dependencies to flake * parse only one default-column-width * require exactly one action per bind, and unique keys for binds * use proper filename for config errors if possible * fix duplicate keybinds after invalid action, lose some sanity
2024-03-01tty: Bump sequence on successful queue_frame()Ivan Molodetskikh
Before this commit: - niri queues frame - successful VBlank happens, sequence is bumped, frame callbacks are sent - niri receives commit, redraws, queues next frame, tries to send frame callbacks, but there wasn't a new VBlank yet, so the sequence is old, and frame callbacks aren't sent - frame callbacks are sent only next VBlank
2024-03-01tty: Avoid zero estimated vblank timerIvan Molodetskikh
2024-03-01Fix center-column regressionIvan Molodetskikh
Mistake introduced along with the horizontal gesture.
2024-03-01Fix presentation feedback panic with zero presentation timeIvan Molodetskikh
2024-03-01Add emulate-zero-presentation-time debug flagIvan Molodetskikh
2024-02-29Move workspace gesture into monitor & fix missing workspace cleanupIvan Molodetskikh
2024-02-29Implement horizontal touchpad swipeIvan Molodetskikh
2024-02-29Pass prev_idx explicitly to animate_view_offset_to_column()Ivan Molodetskikh
2024-02-28Extract animate_view_offset_to_column()Ivan Molodetskikh
2024-02-28Append _fit to animate_view_offset_to_column()Ivan Molodetskikh
2024-02-28Update SmithayIvan Molodetskikh
2024-02-28input: add basic touch supportChristian Meissl
2024-02-28chore: update smithayChristian Meissl
2024-02-24Add environment {} config sectionIvan Molodetskikh
2024-02-24Expand ~ in spawnIvan Molodetskikh
2024-02-24Add open-fullscreen window ruleIvan Molodetskikh
2024-02-23Handle un-/fullscreen after initial configureIvan Molodetskikh
2024-02-23Rename surface -> toplevelIvan Molodetskikh
2024-02-23Fix default width fixed not being honored with bordersIvan Molodetskikh
2024-02-23Fix unset default width causing a window resize right awayIvan Molodetskikh
2024-02-23Add open-maximized window ruleIvan Molodetskikh
2024-02-23Implement explicit unmapped window state trackingIvan Molodetskikh
2024-02-22Fix new warningsIvan Molodetskikh
2024-02-22Improve shader formattingIvan Molodetskikh
2024-02-22Simplify gradient border shaderIvan Molodetskikh
2024-02-21Implement gradient bordersIvan Molodetskikh
2024-02-21Remove unnecessary crop bounds during workspace switchIvan Molodetskikh
2024-02-21focus-ring: Store config instead of individual fieldsIvan Molodetskikh
2024-02-21Accept location in FocusRingIvan Molodetskikh
Makes it work more like other elements.
2024-02-21Move UI elements into submoduleIvan Molodetskikh
2024-02-21Move watcher to utilsIvan Molodetskikh
2024-02-21Move spawn to submoduleIvan Molodetskikh
2024-02-21Move utils to subfolderIvan Molodetskikh
2024-02-21Fix move_window_to_output losing window insteadIvan Molodetskikh
2024-02-21Change non-bug error! to warn!Ivan Molodetskikh
Be consistent with our usage.
2024-02-21Add missing qualified pathIvan Molodetskikh
2024-02-21Use niri_render_elements! for the screenshot UIIvan Molodetskikh
2024-02-21Fix debug tint desync for new outputsIvan Molodetskikh
2024-02-21Fix locking with DPMS-inactive monitorsIvan Molodetskikh
This both enables locking while monitors are powered off (they have no buffer attached at that point on a TTY, so no sensitive content can become visible), and fixes the condition below to check even if the rendering was skipped.
2024-02-21Upgrade logs about removing env vars to warn!Ivan Molodetskikh
These are more visible now with the --session flag.
2024-02-21Add systemd feature flag for systemd-specific thingsIvan Molodetskikh
2024-02-21Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itselfIvan Molodetskikh
2024-02-21Add --session CLI flag instead of detection based on systemd serviceIvan Molodetskikh
Allows running without systemd.
2024-02-20utils/spawn: Put processes into systemd scopesIvan Molodetskikh
This separates them from the niri scope for the purposes of e.g. the OOM killer only killing the app and not the compositor.
2024-02-20utils/spawn: Receive grandchild PIDIvan Molodetskikh
2024-02-18Update for Smithay MultiGpu shadow copiesIvan Molodetskikh
2024-02-18Fix fullscreen handling before initial configureIvan Molodetskikh