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
Ivan Molodetskikh
743173ef64
config: Bump precision on the default widths
...
This seems to actually matter on my 2560x display.
2024-01-22 20:43:33 +04:00
Ivan Molodetskikh
cbbb7a26fc
Update Smithay, use device changed session resume code
...
Should fix most cases of monitors failing to light up after a TTY
switch.
2024-01-22 16:13:39 +04:00
sodiboo
18566e3366
Watch for canonical filename, not just mtime
2024-01-22 07:42:45 +04:00
Ivan Molodetskikh
df48337d83
tty: Delay output config update until resume
...
We can't do anything while paused.
2024-01-21 10:25:39 +04:00
Ivan Molodetskikh
f5e9b40140
tty: Check changes against pending connectors and mode
...
If we queued some DRM changes, they will be in pending. Also be more
resilient by removing unwrap.
2024-01-21 10:24:42 +04:00
Ivan Molodetskikh
5cacd03e85
Return error instead of broken screenshot for portal
2024-01-21 10:03:13 +04:00
Ivan Molodetskikh
6945ccde18
Bump version to 0.1.0-beta.1
v0.1.0-beta.1
2024-01-20 09:38:42 +04:00
Ivan Molodetskikh
e86e9c6c9a
CI: Add a Fedora build
2024-01-20 09:25:50 +04:00
Ivan Molodetskikh
dc47de178f
Add an option to skip the hotkey overlay at startup
2024-01-20 08:31:05 +04:00
Ivan Molodetskikh
65e864965e
Print git version in clap too
2024-01-19 20:46:10 +04:00
Ivan Molodetskikh
55ad36addc
layout: Fix crash due to workspace transfer during switch
2024-01-19 20:24:59 +04:00
Ivan Molodetskikh
26c8cbb961
layout: Fix crash due to workspace cleanup during switch
2024-01-19 20:24:18 +04:00
Ivan Molodetskikh
031133c052
README: Add link to important software wiki page
2024-01-19 07:01:56 -08:00
Ivan Molodetskikh
a6f821d3fa
Update dependencies
2024-01-19 09:41:16 +04:00
Ivan Molodetskikh
475b3df2b5
Don't crash when failing to render a cursor
...
I only hit this when the renderer was completely busted, but
nevertheless.
2024-01-19 09:13:32 +04:00
Ivan Molodetskikh
1541835f00
Prettify Return => Enter key
2024-01-19 08:35:36 +04:00
Ivan Molodetskikh
4b9cb2f0d3
Add exit confirmation dialog
2024-01-19 08:33:54 +04:00
Ivan Molodetskikh
3461c66d2c
Redraw upon starting PW stream
...
Otherwise it may take a while for the first frame to arrive.
2024-01-18 21:16:36 +04:00
Ivan Molodetskikh
011c91c98a
Add an important hotkeys overlay
2024-01-18 20:32:44 +04:00
Ivan Molodetskikh
edafa139f6
portal: Name and sort monitors, fix session restore
...
xdp-gnome restores by a combination of model + make + serial. We
currently can't set those reliably (until libdisplay-info most monitors
will have them unknown) so pass the connector name instead. This will
work as expected in most cases.
2024-01-18 16:31:04 +04:00
Ivan Molodetskikh
fa9b3ed106
Add a config parse error notification
...
We can't rely on a notification daemon being available, especially
during initial niri setup. So, render our own.
2024-01-18 12:44:05 +04:00
Ivan Molodetskikh
cc62a403c0
Update Smithay (deadlock fix)
2024-01-18 11:14:39 +04:00
Ivan Molodetskikh
0f85c79548
Watch config path even if it didn't exist at startup
2024-01-18 11:13:36 +04:00