Ivan Molodetskikh
1028639186
config: Add RegexEq util type instead of manual PartialEq
2024-11-14 09:44:07 +03:00
Ivan Molodetskikh
0e5e764c78
Add niri msg layers
2024-11-12 21:44:00 +03:00
Ivan Molodetskikh
db1faecc95
Guard against closed screenshot UI in its binds
...
They can trigger with closed screenshot UI via key repeat.
2024-11-12 19:26:44 +03:00
Ivan Molodetskikh
c2c415d2e8
wiki/sidebar: Update application issues title
2024-11-12 10:11:41 +03:00
Ivan Molodetskikh
d193928f31
Add PID to Window IPC
2024-11-12 09:37:25 +03:00
Ivan Molodetskikh
17861e0003
Change expel-window-from-column to expel the bottom window
...
This way, expel becomes symmetric with consume. This is also how it
works in PaperWM. Though, in PaperWM if the expelled window was focused,
it will remain focused, while in this commit it is never focused, making
it the exact opposite of consume.
Use consume-or-expel-window-right for the old expel behavior.
2024-11-11 18:07:41 +03:00
Ivan Molodetskikh
97fe964e00
Make consume-or-expel binds more prominent
...
I find myself using them much more than regular consume or expel.
2024-11-11 17:56:35 +03:00
Ivan Molodetskikh
9debb5db23
wiki: Mention Ghidra in application issues
2024-11-11 10:06:23 +03:00
Ramses
494b438151
Unhide the pointer on scroll events ( #797 )
...
* Unhide the pointer on scroll events
Since we reset the surface under the pointer when we hide the pointer
(see update_pointer_contents), scroll events don't work when the pointer
is hidden.
So to make scrolling work, we make sure that we unhide the pointer when
a scrolling event occurs.
* Update src/input/mod.rs
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-11-11 06:08:29 +00:00
Ivan Molodetskikh
010a236882
Start interactive move on Mod+Touch
2024-11-10 09:47:03 +03:00
Ivan Molodetskikh
1951d2a9f2
Fix scrolling not working with missing mouse config
2024-11-10 09:14:22 +03:00
Ivan Molodetskikh
9d8f640503
niri-ipc: Document features
v0.1.10
2024-11-09 17:57:52 +03:00
Ivan Molodetskikh
b18cfbae23
niri-ipc: Add README and Cargo.toml metadata
2024-11-09 17:57:34 +03:00
Ivan Molodetskikh
f64e7e14c3
Bump version to 0.1.10
2024-11-09 17:35:31 +03:00
Ivan Molodetskikh
e8c9bfc06a
wiki: Add scroll-button to mouse and touchpad overview
2024-11-09 17:23:59 +03:00
Ivan Molodetskikh
07452f50a8
Update dependencies
2024-11-09 15:57:17 +03:00
Ivan Molodetskikh
642c5acebb
wiki: Remove outdated info from Application Issues
2024-11-09 11:04:39 +03:00
Ivan Molodetskikh
0886dedff1
wiki: Mention Xwayland on other pages
2024-11-09 11:04:39 +03:00
Ivan Molodetskikh
cc88a7d42e
default-config: Bind Ctrl-Alt-Del to quit
...
This seems to be a shared bind across compositors.
2024-11-09 10:29:13 +03:00
Ivan Molodetskikh
c0829087da
Lock session right away with no outputs
2024-11-08 16:25:06 +03:00
Ivan Molodetskikh
b6f6d6a7c2
wiki: Update getting started
2024-11-08 09:43:43 +03:00
Ivan Molodetskikh
5ff8b89aaf
Rework output connection to always go through on_output_config_changed()
...
This has the following benefits:
1. connector_connected() is now more closely mirroring
connector_disconnected() in that it merely lights up the connector,
and doesn't check if the connector should be off from the config.
2. We can use more complex on/off logic that depends on multiple
connectors. For example, this commit adds logic to only disable the
laptop panel on lid close if there are other connected outputs.
We don't want to disable the laptop panel on lid close if it's the only
connected output because it causes screen lockers to create their
surface from scratch on normal laptop unsuspend, which is undesirable
and also confuses some screen lockers.
2024-11-08 09:11:56 +03:00
Ivan Molodetskikh
927abad4b4
Only call on_output_config_changed() on lid switch
...
We don't need to reload the niri output config.
2024-11-08 09:11:28 +03:00
Ivan Molodetskikh
3d31f9860a
Extract format_make_model_serial()
2024-11-08 09:10:54 +03:00
Ivan Molodetskikh
8867a4f84c
Add disable-monitor-names debug flag
2024-11-06 08:42:22 +03:00
Ivan Molodetskikh
88f4c1d610
layout: Preserve active workspace for removed outputs
2024-11-05 21:52:02 +03:00
Ivan Molodetskikh
ddcb5c5e10
layout: Move some types further down
2024-11-05 21:08:50 +03:00
Ivan Molodetskikh
cd90dfc7be
Disable laptop panel when the lid is closed
2024-11-05 10:03:51 +03:00
Ivan Molodetskikh
a778ab3897
Extract is_laptop_panel() to utils
2024-11-05 09:40:12 +03:00
Ivan Molodetskikh
4c2f49d566
wiki: Add Since to switch events
2024-11-03 23:00:18 +03:00
Ivan Molodetskikh
49d7052bb3
wiki: Add trackball section to config overview
2024-11-03 22:58:18 +03:00
Ivan Molodetskikh
07be7e7eae
wiki: Add Since to scroll-button
2024-11-03 22:56:49 +03:00
Ivan Molodetskikh
97c8717d1e
wiki: Mention insert-hint config on the gestures page
2024-11-03 22:52:49 +03:00
Ivan Molodetskikh
3ac0a751fe
wiki: Add Since to scroll-factor
2024-11-03 22:50:15 +03:00
elipp
8b39f986d9
Implement scroll_factor mouse and touchpad setting ( #730 )
...
* Implement scroll_factor mouse and touchpad setting
* Change to FloatOrInt, add docs
* Also change v120 values
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-11-03 18:43:03 +00:00
Christian Meissl
354c365a03
xdg: cleanup activation tokens
...
valid tokens will stay around until explicitly cleaned-up.
remove the token after it has been successfully used
or we consider it timed out to prevent leaking the memory
used by the activation tokens
2024-11-03 09:13:41 -08:00
Ivan Molodetskikh
e0ebf1bdff
Remove pointer_grab_ongoing in favor of checking the actual grab
2024-11-03 10:23:21 +03:00
Ivan Molodetskikh
11633aef98
Use is() instead of downcast().is_some()
2024-11-03 10:15:19 +03:00
Ivan Molodetskikh
9193245871
Correct pointer constraint activation logic
...
Internally it uses the pointer focus, so make sure we have up-to-date
focus before setting it.
2024-11-03 10:15:19 +03:00
Ivan Molodetskikh
7baf10b751
Clarify redraw in refresh_pointer_focus()
2024-11-03 10:15:19 +03:00
Ivan Molodetskikh
f5d91c5ecc
Rename pointer_focus to pointer_contents, clarify comments
...
This is not pointer focus and it shouldn't be pointer focus, let's be
clear about it.
2024-11-03 10:15:19 +03:00
Ivan Molodetskikh
69e3edb5a3
Rename surface_under_and_global_space() to contents_under()
2024-11-03 08:50:17 +03:00
LoipesMas
d58bb4eaa3
flake: set RUSTFLAGS instead of CARGO_BUILD_RUSTFLAGS
2024-11-02 12:35:04 -07:00
LoipesMas
c5fe25f422
flake: libseat has been renamed to seatd
2024-11-02 12:35:04 -07:00
Ivan Molodetskikh
600cffb009
Update Smithay (lock leak fix)
2024-11-02 18:55:56 +03:00
Christian Meissl
b9d14a9eda
portal: prefer gtk for access portal
...
using gnome for the access portal does not work,
so just override by directly using the gtk one
2024-11-02 07:55:37 -07:00
Ivan Molodetskikh
0e7e398df3
Replace current_state() with with_toplevel_role()
...
Avoid microallocations that happen in current_state().
2024-11-02 10:53:55 +03:00
Ivan Molodetskikh
86bdc6898b
Add with_toplevel_role() util function
2024-11-02 10:53:55 +03:00
Ivan Molodetskikh
e5ca335115
Add Tracy allocation profiling feature flag
2024-11-02 10:53:55 +03:00
Ivan Molodetskikh
fce5d66878
Follow window corner radius in insert hint
2024-11-02 10:53:55 +03:00