Ivan Molodetskikh
b62a07956a
Add niri_render_elements! {}
...
We will be using this in several other places.
2024-02-05 13:55:09 +04:00
Ivan Molodetskikh
96016790b2
layout: Replace with_tiles_in_render_order() with Iterator
2024-02-05 13:55:09 +04:00
Ivan Molodetskikh
bf978fe98d
layout/tile: Return Iterator of render elements
...
Avoid a Vec.
2024-02-05 13:55:09 +04:00
Ivan Molodetskikh
57521c69c3
layout: Add TileRenderElement
2024-02-04 22:52:11 +04:00
Ivan Molodetskikh
da826e42aa
layout: Add LayoutElementRenderElement
...
Allows for testing layout rendering without Wayland windows.
2024-02-04 22:31:44 +04:00
Ivan Molodetskikh
b824cf90ab
layout: Generalize traversal between rendering and input
2024-02-04 22:10:26 +04:00
Ivan Molodetskikh
7a4bb8ba8a
layout: Make rendering not Window-specific
...
Doesn't need to be any more.
2024-02-04 21:23:00 +04:00
Ivan Molodetskikh
72c8f569ac
Bump version to 0.1.1
v0.1.1
2024-02-03 10:00:06 +04:00
Ivan Molodetskikh
798d9c55df
Support fullscreen for new windows
2024-02-03 09:45:26 +04:00
Ivan Molodetskikh
05613eed1e
Verify that pending fullscreen matches column
2024-02-03 09:44:34 +04:00
Ivan Molodetskikh
b23dd4b800
Respect natural-scroll for workspace switch gesture
2024-02-03 09:00:08 +04:00
Ivan Molodetskikh
1f72089a46
Place new workspace after current when moving
...
This feels more natural, also makes moving back and forth idempotent in
most cases.
2024-02-03 08:42:56 +04:00
Ivan Molodetskikh
fbe9020915
Update dependencies
2024-02-02 17:04:17 +04:00
Ivan Molodetskikh
2036116f16
config: Premultiply alpha in Color when converting to f32
...
Smithay wants premultiplied alpha.
2024-02-01 18:53:45 +04:00
Ivan Molodetskikh
9afd728ae9
Add error messages to backend initialization
2024-02-01 16:55:46 +04:00
Andreas Stührk
e51268a39e
Add actions to move the active workspace to another monitor
2024-02-01 12:29:46 +04:00
Ivan Molodetskikh
0a715ce155
default-config: Improve wording for focus-ring/border comment
...
SSD or server-side decorations is never mentioned elsewhere.
2024-02-01 12:06:13 +04:00
Ivan Molodetskikh
89ac958670
default-config: Document how focus ring and border draw behind
...
Related: https://github.com/YaLTeR/niri/issues/150
2024-02-01 10:08:15 +04:00
Ivan Molodetskikh
2e50f8dee0
Hardcode winit transform for now
2024-01-31 23:02:38 +04:00
Ivan Molodetskikh
7052f0129e
Stop screencasts on size changes
2024-01-31 23:02:38 +04:00
axtloss
962e159db6
Add option to rotate outputs
2024-01-31 23:02:38 +04:00
Ivan Molodetskikh
11bff3a2f1
Update Smithay (rotation fix)
2024-01-31 23:02:38 +04:00
Ivan Molodetskikh
15606304f2
README: Bring AUR link back
2024-01-30 22:36:30 -08:00
Christian Meissl
85eac9d9d0
chore: bump smithay
...
includes fixes for wrong direct scan-out transform
and damage artifacts on output transform changes.
also includes a fix for a race in popup surface re-use.
2024-01-30 15:30:31 +04:00
Ivan Molodetskikh
d3f4583c90
foreign_toplevel: Use OutputHandler to send output_enter on demand
2024-01-30 12:30:57 +04:00
Ivan Molodetskikh
fefb1cccd6
foreign_toplevel: Update the focused window last
2024-01-30 12:30:57 +04:00
Ivan Molodetskikh
deef52519a
foreign_toplevel: Change activated to mean keyboard focus
2024-01-30 12:30:57 +04:00
Ivan Molodetskikh
59ff331597
Implement wlr-foreign-toplevel-management
...
The parent event isn't sent but whatever.
2024-01-30 12:30:57 +04:00
Christian Meissl
b813f99abd
tty: reset surface state after changing monitor state
...
changing the "ACTIVE" property of a surface requires
to re-evaluate the surface state.
2024-01-30 08:03:21 +04:00
Ivan Molodetskikh
d9b9cec8b8
README: Remove AUR link for now
...
It doesn't work properly yet apparently.
2024-01-29 12:29:32 -08:00
Christian Meissl
597ea62d17
input: update keyboard led state
2024-01-28 23:43:08 +04:00
Ivan Molodetskikh
51243a0a50
Show notification about creating a default config
2024-01-28 17:15:47 +04:00
Ivan Molodetskikh
0ebcc3e0d6
Create default config file if missing
2024-01-28 17:15:33 +04:00
Ivan Molodetskikh
64c85d865e
winit: Don't remove output on CloseRequested
...
More winit events can process after CloseRequested, which will cause a
panic if trying to access the now-removed output.
2024-01-28 16:30:29 +04:00
Ivan Molodetskikh
367e4955ea
Mark Msg as pub
...
Seems to break the build on 1.72.0 otherwise.
2024-01-28 09:34:42 +04:00
Ivan Molodetskikh
dd967554d1
Bump version to 0.1.0
v0.1.0
2024-01-27 14:10:31 +04:00
Ivan Molodetskikh
6d7c220137
Try harder to find an output for the screenshot UI
...
The mouse might be outside any outputs, let's try to open in that case
anyway.
2024-01-27 14:09:55 +04:00
Ivan Molodetskikh
d77aac1afa
Fix damage when rendering to texture
2024-01-27 10:50:40 +04:00
Ivan Molodetskikh
837a0a20fb
Update README
2024-01-25 08:34:42 +04:00
Ivan Molodetskikh
ecdf756b55
Name output render element better
2024-01-25 08:02:33 +04:00
Christian Meissl
73f3c160b2
use pixman for cursor plane rendering
2024-01-25 07:49:51 +04:00
Christian Meissl
5f99eb13ab
Remove hack for fixed EGLDisplay issue
2024-01-25 07:49:51 +04:00
Christian Meissl
20326b093c
Update smithay
2024-01-25 07:49:51 +04:00
Ivan Molodetskikh
467d92a4b4
github: Add a feature request link to start a discussion
2024-01-23 17:41:35 +04:00
Ivan Molodetskikh
15bb69c0b9
Update issue templates
2024-01-23 05:36:19 -08:00
Ivan Molodetskikh
adfbfdffb3
Create a bug report template
2024-01-23 05:34:38 -08:00
Ivan Molodetskikh
087ed260c5
Update Smithay (find_popup_root_surface() panic fix)
2024-01-23 17:12:47 +04:00
Ivan Molodetskikh
f5642ab733
Ignore popup grabs when IME keyboard grab is active
...
Doing this properly will require more refactors, potentially in Smithay.
For now let's just ignore popup grabs to make popups work.
2024-01-23 17:05:08 +04:00
Ivan Molodetskikh
ab9706cb30
screencast: Emit MonitorsChanged
2024-01-23 12:02:52 +04:00
Ivan Molodetskikh
05f2a3709b
srceencast: Send stream size
...
Kooha requires this (even though it's optional). Unfortunately, Kooha
also seems to want memfd recording so it doesn't work anyway.
2024-01-23 11:36:11 +04:00