Commit graph

114 commits

Author SHA1 Message Date
Ottatop
7ee97f2589 Fail gamma control on output removal 2024-04-10 09:39:33 -05:00
Ottatop
c4d811fd97 Comment useless code for later 2024-04-10 07:44:41 -05:00
Ottatop
9933d64ed2 Fix hang when layer shell nested popup appears
And also some minor changes, also there is a possibility that switching back to the tty Pinnacle is in will lead to a black screen, really need to find a way to reproduce
2024-04-10 07:13:16 -05:00
Ottatop
589b0b135f Update tty switching and apply pending/previous gammas
Bunch more stuff yoinked from Niri
2024-04-10 06:32:52 -05:00
Ottatop
24ac349922 Implement wlr-gamma-control
Buncha stuff yoinked from Niri
2024-04-10 01:55:45 -05:00
Ottatop
bf4e270bfc Bump dependencies 2024-04-06 16:14:45 -05:00
Ottatop
97511b001a Finish winit screencopy 2024-04-04 00:22:46 -05:00
Ottatop
d18d3e4b17 Make dmabuf udev screencopy actually work
Well that wasn't fun. TODO: finish winit screencopy, test all with output transforms
2024-04-03 22:28:29 -05:00
Ottatop
2dbc13d55d Fix screencopy transparency on udev
Using a hack to set the cursor to the primary plane. Also the code is still doodoo
2024-04-01 22:01:46 -05:00
Ottatop
ed2135e8f5 Add almost working screencopy
WARNING: contains digusting and repeated code. Also any screencopy with the cursor included on udev leads to a hole under the cursor
2024-03-31 21:59:45 -05:00
Ottatop
cb4c056cf7 Extract pointer render element creation 2024-03-31 01:01:42 -05:00
Ottatop
15d033d335 Keep track of scale in connector_disconnected 2024-03-29 13:07:48 -05:00
Ottatop
d52192a2ba Default back to linear scaling and add config options to set 2024-03-29 11:57:35 -05:00
Ottatop
7496ebd697 Default to nearest-neighbor upscaling 2024-03-23 18:36:58 -05:00
Ottatop
5da0f84350 Set drm mode when resizing output 2024-03-22 21:19:16 -05:00
Ottatop
698cd1d973 Correctly parse EDID info
Should fix output make always being Unknown and some cases of the monitor name not being parsed because of a faulty detailed timings parse
2024-03-22 14:27:18 -05:00
Ottatop
000e3eb2ca Update pointer focus without motion if different 2024-03-21 18:13:16 -05:00
Ottatop
6d83e34868 Setup Lua API integration tests 2024-03-06 18:50:45 -06:00
Ottatop
c96b01f733 Clean up stuff 2024-03-04 19:16:10 -06:00
Ottatop
2a25ab2319 Remove state.pointer_location 2024-03-04 16:43:54 -06:00
Ottatop
d9116da20d Unify event loop running 2024-03-04 15:54:30 -06:00
Ottatop
24696595af Finish better CLI 2024-03-03 02:25:19 -06:00
Ottatop
16fff3f7e3 Update Smithay 2024-02-29 16:28:25 -06:00
Ottatop
e734a716c0 Set window focused only if it's on the focused output 2024-02-24 14:58:58 -06:00
Ottatop
14a36b9738 Rework focus and add Window.set_focused
This has to be one of the most unreviewable commits I think I've created yet
2024-02-24 14:41:52 -06:00
Ottatop
6b2b7066ac Make connect_for_all use signals 2024-02-21 23:30:28 -06:00
Ottatop
7d94fc4362 Add output connect signal
untested
2024-02-21 22:48:09 -06:00
Ottatop
8a2a6a3185 Remove CalloopData
This was a remnant of Anvil
2024-02-16 22:37:53 -06:00
Ottatop
f20c3cd847 Update dependencies 2024-02-07 19:38:15 -06:00
Ottatop
dae790f54c Update Smithay, add MPL licenses to API libs 2024-01-22 21:04:08 -06:00
Ottatop
0b88ad298b Completely rip out the old msgpack stuff
Did this break anything? ¯\_(ツ)_/¯
2024-01-21 23:42:48 -06:00
Ottatop
7fe56ed949 Gracefully shutdown after ctrl-c 2024-01-14 13:34:00 -06:00
Ottatop
3236f455b9 Impl remaining services 2024-01-11 13:40:17 -06:00
Ottatop
b08b979fe9 Migrate all async to tokio 2024-01-08 13:43:38 -06:00
Ottatop
31172c5a4e Fix multi-monitor fullscreen rendering and pointer input 2023-12-23 22:03:20 -06:00
Ottatop
f8d1e59c06 Correctly offset render elements 2023-12-21 21:15:21 -06:00
Ottatop
24034e7051 Make blocker work on udev
Also apparently stylua updated or something cuz I formatted the example_config and it's different now. Also need to fix the slight flickering when closing windows
2023-12-20 19:48:49 -06:00
Ottatop
b1a97e81ed Fix clippy stuff 2023-12-19 15:32:33 -06:00
Vladislav Nepogodin
96930eb7e5
apply rustfmt 2023-12-19 15:09:36 +04:00
Vladislav Nepogodin
3fb0a744a2
update dependencies and adjust for smithay changes 2023-12-19 15:08:52 +04:00
Ottatop
e0f7e85b83 Clean up stuff and add more docs 2023-12-16 21:20:29 -06:00
Ottatop
3427fe5d7c Do other misc stuff
These are some horrible commit messages
2023-12-14 22:00:04 -06:00
Ottatop
b2ebda85f0 Simplify render elements
FIXME: evidently I no longer remove windows correctly from the main window vec because layouting takes into account a nonexistent window
2023-12-14 16:38:07 -06:00
Ottatop
d7b783877f Merge override redirect windows into main window vec
I previously stuck all X11 override redirect windows in their own stack which is really lazy. Still need to make it so child OR windows will render above their parents, even when fullscreen.
2023-12-13 20:07:19 -06:00
Ottatop
4569c21a5f Move stuff to window/rules.rs 2023-12-09 21:11:29 -06:00
Ottatop
e7ebc40fc7 Run disconnect and reconnect on connectors when switching tty back 2023-10-17 23:34:14 -05:00
Ottatop
ec0e892bf3 Clear overlay planes on tty switch 2023-10-17 23:20:35 -05:00
Ottatop
06a96849e7 Move a render schedule
As you can see I don't pay attention to the compiler yelling at me
2023-10-17 23:00:19 -05:00
Ottatop
27692997ed Schedule render on tag change, update window stack on udev 2023-10-17 22:29:59 -05:00
Ottatop
7572523cfc Fix winit rendering 2023-10-15 03:13:21 -05:00