Ivan Molodetskikh
|
11ae17b220
|
Extract to_xkb_config() to a method
|
2023-12-05 08:04:46 +04:00 |
|
Ivan Molodetskikh
|
40b633be5c
|
Implement relative-pointer
Xwayland actually makes use of it, so I can finally verify that it
works!
|
2023-12-04 18:12:12 +04:00 |
|
Ivan Molodetskikh
|
0e29e7f6ff
|
Keep monitor aspect ratio and clamp to monitor for tablets
Before, the full tablet area was used, even if the aspect ratio didn't
match the monitor. Also, the coordinates weren't clamped.
|
2023-12-03 13:50:07 +04:00 |
|
Ivan Molodetskikh
|
113ae1aaff
|
Live reload animation slowdown
|
2023-11-25 10:25:12 +04:00 |
|
Ivan Molodetskikh
|
df5512c0a8
|
Move first log message to after cli parsing
So that it doesn't occur during --help etc.
|
2023-11-24 23:22:53 +04:00 |
|
Ivan Molodetskikh
|
ae47f2116d
|
Move command spawning to a thread
It was showing up on profiles causing dropped frames.
|
2023-11-24 22:48:30 +04:00 |
|
Ivan Molodetskikh
|
9f24b48d8f
|
Add missing newline
|
2023-11-24 22:28:20 +04:00 |
|
Ivan Molodetskikh
|
c95e4a738f
|
Remove {WAYLAND_,}DISPLAY from environment if running as a service
Notably, running the GNOME Xorg session followed by niri results in a
leftover DISPLAY.
|
2023-11-24 22:17:15 +04:00 |
|
Ivan Molodetskikh
|
d6b8310edb
|
Log version on startup
|
2023-11-24 22:04:53 +04:00 |
|
Ivan Molodetskikh
|
5b3d626993
|
Remove info from default log
Smithay spams way too much.
|
2023-11-24 22:04:18 +04:00 |
|
Ivan Molodetskikh
|
7d797336aa
|
Don't propagate overwritten RUST_{,LIB_}BACKTRACE
|
2023-11-24 21:42:37 +04:00 |
|
Ivan Molodetskikh
|
a2ad7b0854
|
Upgrade dependencies
|
2023-11-24 11:49:07 +04:00 |
|
Ivan Molodetskikh
|
c7f8a188ea
|
layout: Add hack to work around maximized GTK damage
|
2023-11-24 11:30:44 +04:00 |
|
Ivan Molodetskikh
|
0d2ed2e14a
|
tty: Fix clippy warning
|
2023-11-24 09:50:30 +04:00 |
|
Ivan Molodetskikh
|
25fd6a0e04
|
layout: Switch to workspace on window activation if not transitioning
This should not be possible to trigger at the moment, but with
xdg-activation it will be.
|
2023-11-24 09:49:39 +04:00 |
|
Ivan Molodetskikh
|
3473965091
|
layout: Change workspace by idx functions to accept 0-based usize
Makes more sense to do the converstion at the top of the call stack.
|
2023-11-24 09:48:37 +04:00 |
|
Ivan Molodetskikh
|
c9a79464da
|
niri: Add a check for target screencast time below last
I've had this crash my session twice. Not sure what exactly happened.
|
2023-11-24 09:34:53 +04:00 |
|
Ivan Molodetskikh
|
c082e2a618
|
niri: Rename presentation_time to target_presentation_time
Makes it clearer that this is a prediction.
|
2023-11-24 09:21:56 +04:00 |
|
Ivan Molodetskikh
|
42bb79d7c3
|
tty: Rename vblank offset plot to time since presentation
Makes it clearer what this is.
|
2023-11-24 09:19:49 +04:00 |
|
Ivan Molodetskikh
|
588e6d7cdd
|
tty: Rename presentation target offset plot to misprediction
Makes it clearer what this is.
|
2023-11-24 09:15:25 +04:00 |
|
Ivan Molodetskikh
|
19cafffe0f
|
Fix top layer-shell surfaces keeping keyboard focus during fullscreen
|
2023-11-17 18:30:24 +04:00 |
|
Ivan Molodetskikh
|
8679eaf34a
|
Revert "Allow maximizing windows with the button in the title bar (#84)"
This reverts commit 37de77de33.
Turns out some GTK windows will send un/maximize requests when they
appear, and those requests go to the wrong window.
|
2023-11-13 20:04:47 +04:00 |
|
Ivan Molodetskikh
|
1ce3c1392d
|
Add an action to center column within view bound to Ctrl-C
|
2023-11-13 19:08:29 +04:00 |
|
Ivan Molodetskikh
|
e397f773bd
|
Preserve column width when toggling off full width
|
2023-11-13 15:04:38 +04:00 |
|
SED4906
|
37de77de33
|
Allow maximizing windows with the button in the title bar (#84)
|
2023-11-12 09:27:11 -08:00 |
|
Ivan Molodetskikh
|
00806d1f08
|
Replace unwrap() with a check and an error message
I just crashed here somehow.
|
2023-11-10 20:09:28 +04:00 |
|
Kirill Chibisov
|
5c48521646
|
Don't set screenshot for primary selection
It's already in clipboard selection, so no need to duplicate it.
|
2023-11-08 22:19:25 +04:00 |
|
Kirill Chibisov
|
907e0a03ef
|
Add 'input.keyboard.track_layout' config option
Track layout for each window individually when user requested `Window`
tracking mode, keeping the default as global.
|
2023-11-08 19:09:11 +04:00 |
|
Kirill Chibisov
|
eb7d20c638
|
Add action to switch layouts
Allow users to trigger layout change with custom bindings.
|
2023-11-08 19:09:11 +04:00 |
|
Kirill Chibisov
|
195ca80c39
|
Try latin character from other layout for action
This should allow users of non-latin layouts use bindings without
changing layout back to latin input capable one.
Fixes #21.
|
2023-11-08 19:09:11 +04:00 |
|
Ivan Molodetskikh
|
c1060cd26b
|
Add set-window-height action
|
2023-11-08 11:27:25 +04:00 |
|
Ivan Molodetskikh
|
dc9cee4589
|
layout: Implement auto height distribution
Takes into account min and, partially, max window heights, and adds 1 px
when necessary to account for uneven division.
|
2023-11-08 11:27:25 +04:00 |
|
Ivan Molodetskikh
|
8056dd0c7e
|
layout: Add window heights to columns
|
2023-11-08 11:27:25 +04:00 |
|
Ivan Molodetskikh
|
e1bfd981b3
|
Add default-column-width setting
|
2023-11-03 20:11:11 +04:00 |
|
Kirill Chibisov
|
6a81d8f2a6
|
Check alternative cursor names when loading cursor
Some themes don't have all the cursors specified as in w3c
specification, thus try to check for alternative names as well.
|
2023-11-02 16:23:05 +04:00 |
|
Ivan Molodetskikh
|
889d062df7
|
Render top layer under fullscreen surfaces when stationary
|
2023-11-02 13:07:01 +04:00 |
|
Ivan Molodetskikh
|
10905efeaf
|
Refactor layer surface under cursor
Prepare for varying the top layer position.
|
2023-11-02 13:01:34 +04:00 |
|
Ivan Molodetskikh
|
7ff91fe394
|
Add a check for primary monitor workspace invariant
|
2023-11-02 09:39:37 +04:00 |
|
Christian Meissl
|
e7857efbd2
|
pointer input for layer surface
|
2023-11-01 20:28:44 +04:00 |
|
Ivan Molodetskikh
|
ee8404b9a9
|
Preserve column width on window actions
Fixes https://github.com/YaLTeR/niri/issues/53
|
2023-11-01 17:41:02 +04:00 |
|
Ivan Molodetskikh
|
5a86b43744
|
Fix losing track of window on move to output if there are none
|
2023-11-01 17:26:30 +04:00 |
|
Ivan Molodetskikh
|
e0a76b6215
|
layout: Change with_surfaces to set_preferred_scale_transform
The former is too specific to concrete Window and not as amenable to
testing.
|
2023-11-01 15:07:45 +04:00 |
|
Ivan Molodetskikh
|
15144220fa
|
Show notification on screenshot
|
2023-10-31 17:06:14 +04:00 |
|
Ivan Molodetskikh
|
b0af1129c9
|
Include filename in screenshot-path
|
2023-10-31 14:23:54 +04:00 |
|
Ivan Molodetskikh
|
02f6b418fe
|
[cfg-breaking] Change colors to 0-255 instead of 0.-1.
|
2023-10-31 09:07:11 +04:00 |
|
Ivan Molodetskikh
|
8fa5bf9a36
|
Make screenshot path configurable
|
2023-10-31 08:57:44 +04:00 |
|
Ivan Molodetskikh
|
d854c2d699
|
Change cursor to crosshairs when taking a screenshot
|
2023-10-31 07:16:36 +04:00 |
|
Ivan Molodetskikh
|
25e701d9ce
|
screenshot: Don't ignore mouse releases on missing output
|
2023-10-31 07:08:35 +04:00 |
|
Ivan Molodetskikh
|
073b52c3e6
|
Implement area selection screenshots
|
2023-10-30 20:29:03 +04:00 |
|
Ivan Molodetskikh
|
31f6b32fa3
|
Extract render_to_texture()
|
2023-10-30 20:28:13 +04:00 |
|