Commit Graph

2172 Commits

Author SHA1 Message Date
Ivan Molodetskikh 3a52489330 Change default repeat to 600
660 comes from Xorg, but feels kind of slow. The wlroots and sway
default is 600, which is a little better.

The 25 repeat interval matches between Xorg (where it is defined in
terms of interval, rather than rate) and wlroots.
2023-09-16 21:52:25 +04:00
Kirill Chibisov b66b4399ad Add keyboard.repeat-rate and keyboard.repeat-delay
Add option to let the users configure the keyboard repeat delay and
rate. Also change the default values to mimic the Xorg, which is
also the values used by default by the majority of the compositors.

Fixes: #7
2023-09-16 18:13:52 +03:00
Ivan Molodetskikh 37ec524264 Add by-index workspace commands and binds 2023-09-16 12:14:02 +04:00
Ivan Molodetskikh e5d7732880 Use /- in less places in the default config 2023-09-16 10:50:05 +04:00
Ivan Molodetskikh fafe24c499 Mention uncommenting in default-config 2023-09-16 09:06:34 +04:00
Ivan Molodetskikh ddbc455bb8 Add debug flag to enable overlay planes 2023-09-14 22:43:24 +04:00
Ivan Molodetskikh 3d6bc996ca Disable ColorTransformations, add debug flag to enable
Speeds up the rendering slightly, doesn't seem to cause issues?
2023-09-14 22:43:24 +04:00
Ivan Molodetskikh 89f9e11f65 Store Config as Rc<RefCell<>> field 2023-09-14 22:43:24 +04:00
Ivan Molodetskikh 092095ead0 Add debug flag to wait for frame completion 2023-09-14 09:33:42 +04:00
Ivan Molodetskikh ef11975ec5 tty: Plot vblank dispatch offsets 2023-09-14 09:19:20 +04:00
Ivan Molodetskikh 46403bd84a layout: Correct view offset when swapping columns 2023-09-13 19:37:14 +04:00
Ivan Molodetskikh 219ca08836 Implement minimizing view movement on changes
Before this commit, windows were always left-aligned.

Now, when changing focus, if the window is fully visible, the view
doesn't move. If the window is not fully visible, the view is moved the
minimum amount.
2023-09-13 16:57:12 +04:00
Ivan Molodetskikh c8b85b83c7 Update dependencies 2023-09-12 19:48:50 +04:00
Ivan Molodetskikh 84885fe5fb layout: Add tests for various operations 2023-09-12 19:46:12 +04:00
Ivan Molodetskikh 99b4ea6541 layout: Fix assertion in verify_invariants() 2023-09-12 19:46:12 +04:00
Ivan Molodetskikh 513763eaec layout: Replace add_window_to_output with add_window 2023-09-12 19:46:12 +04:00
Ivan Molodetskikh e4b5f6518a Update dependencies 2023-09-11 19:51:00 +04:00
Ivan Molodetskikh 07c4632165 Update dependencies 2023-09-11 19:24:09 +04:00
Ivan Molodetskikh d52ca23caa Add initial monitor screencast portal impl
DmaBuf monitor screencasting through xdg-dekstop-portal-gnome!

Somewhat limited currently, e.g. the cursor is always embedded. But gets
most of the job done.
2023-09-08 23:53:56 +04:00
Ivan Molodetskikh bd0ecf9174 Roll tracy-client back to 0.15
The version must match across dependencies.
2023-09-08 09:30:22 +04:00
Ivan Molodetskikh 3affc89def CI: Add profiling feature build 2023-09-06 17:40:24 +04:00
Ivan Molodetskikh ec7e8112b1 Upgrade dependencies 2023-09-06 17:31:59 +04:00
Ivan Molodetskikh 98516aec9c Remove fuzzel from generate-rpm requires 2023-09-06 17:31:47 +04:00
Ivan Molodetskikh a75b0dcb6f CI: Switch rustfmt to checkout v4 too
Forgot about this. But might as well test rust cache performance.
2023-09-06 17:20:19 +04:00
Ivan Molodetskikh 75c75c93e1 Add CI
Surely this will work first try
2023-09-06 17:11:25 +04:00
Ivan Molodetskikh 7460737481 Add animation-slowdown debug setting 2023-09-06 15:49:46 +04:00
Ivan Molodetskikh c7a7b2daf2 input: Only send axis_stop when amount is present
This is the expected behavior. Unbreaks Alacritty scrolling.
2023-09-06 14:51:37 +04:00
Ivan Molodetskikh 180d07aab9 Redraw on cursor or DnD surface commits 2023-09-06 11:56:50 +04:00
Ivan Molodetskikh f929370cf5 config: Add volume button example 2023-09-06 09:47:44 +04:00
Ivan Molodetskikh 18e29d0028 layout: Fix input to non-active window in column 2023-09-05 18:14:42 +04:00
Ivan Molodetskikh 934183ef00 input: Clip pointer movement smarter 2023-09-05 18:02:05 +04:00
Ivan Molodetskikh 72d6b387e7 Fix extra ref 2023-09-05 17:28:07 +04:00
Ivan Molodetskikh b7f51fe44d input: Remove some unwraps 2023-09-05 17:27:54 +04:00
Ivan Molodetskikh 5225bc9e55 Add configuration file 2023-09-05 12:58:59 +04:00
Ivan Molodetskikh bdc86032e4 Fix line position 2023-09-05 08:10:19 +04:00
Ivan Molodetskikh 3cea52a0b2 Update Smithay to upstream
Pointer gestures were merged.
2023-09-04 16:36:27 +04:00
Ivan Molodetskikh aa7777527b Compile-disable trace events in release 2023-09-04 15:10:16 +04:00
Ivan Molodetskikh 682182f363 Update Smithay and fix winit presentation time 2023-09-04 15:09:58 +04:00
Ivan Molodetskikh 9b4a8fed4f input: Don't use fully-qualified calls 2023-09-04 14:28:59 +04:00
Ivan Molodetskikh 1947a77fd8 niri: Remove start_time 2023-09-04 14:27:48 +04:00
Ivan Molodetskikh 7eaf9ec2b0 Use monotonic time as frame callback time 2023-09-04 14:27:16 +04:00
Ivan Molodetskikh 59a6119f46 Fix refresh passed to presentation feedback 2023-09-04 14:26:55 +04:00
Ivan Molodetskikh 786e0fa4f0 Re-enable dmabufs but without overlay planes 2023-09-04 10:24:23 +04:00
Ivan Molodetskikh 8df48c05ca tty: Add commented-out wait-for-sync span 2023-09-04 09:56:28 +04:00
Ivan Molodetskikh 66467c8add tty: Add commented-out no-color-transformation renderer 2023-09-04 09:55:53 +04:00
Ivan Molodetskikh 14bafdf202 tty: Add Tracy vblank frame events 2023-09-04 08:57:11 +04:00
Ivan Molodetskikh acb9376d05 tty: Add name and presentation to vblank mark 2023-09-04 08:02:24 +04:00
Ivan Molodetskikh acf3016bce tty: Store surface name 2023-09-04 08:01:50 +04:00
Ivan Molodetskikh b54e1522ff tty: Add Surface state struct 2023-09-04 07:49:50 +04:00
xrtxn 1b9e9a15c8 fix LoopData not being a public type 2023-09-03 18:39:16 +04:00