aspizu
5d2754f831
Fix dead links and add FAQ entry ( #475 )
...
* Fix dead links and add FAQ entry
* Update wiki/FAQ.md
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update wiki/Important-Software.md
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-06-27 23:23:52 -07:00
itsjunetime
ebaf1b0620
Update winit to fix failing build on arm linux
2024-06-22 18:21:15 +03:00
Ivan Molodetskikh
589e5a600c
Keep screencast running through size changes
2024-06-21 11:05:28 +03:00
Ivan Molodetskikh
198b5a502d
Update dependencies
2024-06-21 08:55:46 +03:00
Ivan Molodetskikh
cb0ebd35ce
Make tablet without specific output map to union of outputs
2024-06-19 23:02:45 +03:00
Ivan Molodetskikh
29cf80a3dd
wiki: Mention workspace switch mouse gesture
2024-06-19 22:22:34 +03:00
Ivan Molodetskikh
db89d4d3dd
Implement vertical middle mouse gesture
2024-06-19 21:55:39 +03:00
Kirill Chibisov
226273f660
Handle KDE decorations in Mapped::has_ssd
...
This fixes an issue with default CSD border being drawn for SSD
rendering firefox, because only xdg decorations were checked.
2024-06-19 17:42:29 +03:00
Ivan Molodetskikh
c0ded35783
Somewhat fix height distribution logic
...
This got a bit broken with fractional layout. The current logic seems to
give exact results for integer scales again, but for fractional scales
sometimes the resulting height goes beyond the maximum, even clearly by
more than one logical pixel. Not entirely sure why that is.
2024-06-19 08:51:19 +03:00
FreeFull
39632e9c1e
Add regex syntax link to Configuration:-Window-Rules.md
2024-06-18 14:31:57 +03:00
Ivan Molodetskikh
66202992c9
Fix blurry rounded corners on high scales
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
eb59b10050
config: Remove obsolete FIXME
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
986f2c14ab
Make scale use FloatOrInt
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
793e1bdbc5
Animate xdg-activation and foreign-toplevel workspace switches
...
These are a bit jarring without an animation.
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
d62721d5f8
Queue redraw after activation in xdg-activation
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
d54619e1d1
Remove unnecessary return
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
8425493ef5
Allow scale below 1
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
6121e64338
Add fractional scales to auto scale guessing
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
33b5beaeee
Round scale to closest representable
2024-06-18 14:01:34 +03:00
Ivan Molodetskikh
1dae45c58d
Refactor layout to fractional-logical
...
Lets borders, gaps, and everything else stay pixel-perfect even with
fractional scale. Allows setting fractional border widths, gaps,
struts.
See the new wiki .md for more details.
2024-06-18 14:01:28 +03:00
Ivan Molodetskikh
997119c443
Enable fractional scaling
2024-06-18 12:23:50 +03:00
Ivan Molodetskikh
032589446a
Fix cached data not updating on config change
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
9ae98e09cb
Update Smithay
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
2ffa1ae705
layout: Cache scale and transform on the workspace
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
fee72b87cf
niri-config: Add pretty-assertions to tests
...
The config parse test is pretty big and it's impossible to tell the
difference from the normal assert.
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
6c47bd6e80
Rename apply_scale to to_physical_precise_round
...
Consistency with Smithay.
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
02c2972e74
ui/config_error_notification: Store TextureBuffers
...
Avoids re-importing every frame.
2024-06-17 09:02:22 +03:00
Ivan Molodetskikh
4b830ee7ff
ui/screenshot_ui: Correct fractional scaled behavior
2024-06-10 18:08:01 +03:00
Ivan Molodetskikh
8e41568ffd
Add SolidColor{Buffer,RenderElement}
2024-06-10 18:08:01 +03:00
Ivan Molodetskikh
dbe810d3d8
Move apply_scale() to utils
2024-06-10 18:08:01 +03:00
Ivan Molodetskikh
a1563b9132
ui/config_error_notification: Make fractional-scaling aware
2024-06-10 18:08:01 +03:00
Ivan Molodetskikh
98aea9579f
ui/exit_confirm_dialog: Make fractional-scaling aware
2024-06-10 18:08:01 +03:00
Ivan Molodetskikh
7019172b67
Add MemoryBuffer
2024-06-10 18:08:00 +03:00
Ivan Molodetskikh
be62bd123a
ui/hotkey_overlay: Make fractional-scaling aware
2024-06-10 18:08:00 +03:00
Ivan Molodetskikh
3c63be6261
Implement our own TextureBuffer/RenderElement
...
Supports fractional texture scale + has some getters.
2024-06-10 18:08:00 +03:00
Ivan Molodetskikh
e3406ac255
Signal fractional scale to clients
...
Doesn't do anything yet because we don't bind the fractional scale
manager and don't allow fractional scales.
2024-06-10 18:08:00 +03:00
Ivan Molodetskikh
22a948cc75
Update dependencies
2024-06-10 18:07:51 +03:00
Peter Collingbourne
bc3d6cac80
Implement xdg_activation_v1
...
Fixes #30 .
2024-06-10 18:06:34 +03:00
James Sully
a55e385b12
Add focus-column-right-or-first, focus-column-left-or-last ( #391 )
...
* add focus-column-right-or-first
* add focus-column-left-or-last
2024-06-09 11:14:51 +00:00
Ujp8LfXBJ6wCPR
af6d84a7f8
Fix typos ( #429 )
...
* Fix typos reported by "typos" crate
https://github.com/crate-ci/typos
* Ignore typo datas -> data
See https://github.com/crate-ci/typos?tab=readme-ov-file#false-positives
for more configureability.
---------
Co-authored-by: Carl Hjerpe <git@hjerpe.xyz >
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-06-09 10:50:22 +00:00
Ivan Molodetskikh
f203c8729a
Use generic Atomic for rlim_t
...
rlim_t is different between platforms.
2024-06-09 08:48:36 +03:00
galister
dbf0dddfcc
PointerMotionAbsolute: use union rect of all outputs
2024-06-07 19:50:48 +03:00
Ivan Molodetskikh
c6c17cccac
Add missing fullscreen check
...
Fixes crash when a window in a column requests to be unfullscreened.
2024-06-04 19:46:19 +03:00
Ivan Molodetskikh
b5ad0e12fd
Preserve empty named workspaces upon output removal
...
Not sure how we missed this.
2024-06-02 08:21:19 +03:00
Yuya Nishihara
c8e46b9d17
Add "off" and "disabled-on-external-mouse" properties to input devices
...
This is called "events <mode>" in Sway, but we decided to use more abstracted
form for consistency with the other config items. "disabled-on-external-mouse"
is added only to touchpads, but there might be other devices that support this
option.
I think "off" also applies to keyboards, but I'm not going to add the one
because we don't have libinput machinery for the keyboard config, and it's
unlikely that user wants to disable _all_ keyboards. OTOH, pointer devices can
be disabled per type. Perhaps, this should be revisited after implementing #371 .
2024-05-29 16:41:03 +03:00
Yuya Nishihara
f2ce84b243
Fix copy-paste error in scroll-method error message
2024-05-28 15:35:45 +03:00
rustysec
ae7fb4c4f4
Add niri msg focused-output
2024-05-26 21:29:22 +04:00
Yuya Nishihara
4746a0da7d
Add scroll-method property to pointer devices
...
My use case is to enable middle-button scroll on my keyboard with pointing
stick. The device is recognized as USB mouse.
2024-05-26 16:49:40 +03:00
Ivan Molodetskikh
2ac8d84034
Update Smithay (NVIDIA 555 fix)
2024-05-24 16:47:55 +04:00
Micah N Gorrell
eb0f7aa429
Added actions to allow focusing up or down as normal but to wrap to the column to the left or right if there is no window above or below
2024-05-24 16:44:20 +04:00