Commit graph

788 commits

Author SHA1 Message Date
Ottatop
1c2f639a56 Add tag active signal 2024-04-18 14:42:49 -05:00
Ottatop
c0aa9067f3 Add some more docs 2024-04-18 12:54:39 -05:00
Ottatop
d2cb38daf5 Add some docs 2024-04-18 11:48:18 -05:00
Ottatop
d2445afe10 Allo wmatching outputs by EDID serial
Note that EDID serials are not totally unique across all monitors. Also some monitors don't have an EDID serial number. Also this hasn't been tested yet
2024-04-18 11:04:15 -05:00
Ottatop
0284a70c10 Add serial to ouptut properties 2024-04-17 23:01:56 -05:00
Ottatop
b77e9fa9b1 Add transform to Rust output setup 2024-04-17 21:31:39 -05:00
Ottatop
d28f520b07 Fix Lua default config 2024-04-17 21:25:55 -05:00
Ottatop
a8f393deb3 Improve Lua output setup API
I really like this compared to the previous iteration
2024-04-17 21:22:54 -05:00
Ottatop
5634cbbfe7 Improve Rust output setup API 2024-04-17 18:56:01 -05:00
Ottatop
6c8b643577 Add OutputHandle::set_transform 2024-04-16 21:30:59 -05:00
Ottatop
f6ad192c86 Finish Lua setup and setup_locs 2024-04-16 19:25:59 -05:00
Ottatop
3f5a56c201 Finish Rust Output::setup and ::setup_locs 2024-04-16 16:26:54 -05:00
Ottatop
ce4352a9fb Split off location setting from setup 2024-04-16 14:29:53 -05:00
Ottatop
43809d4210 Remove statics from Rust API
And a bunch of other things, this commit doesn't build
2024-04-16 11:10:47 -05:00
Ottatop
f557afcaa1 Start on Rust API tests
Does not currently work because every api struct is a static, yikes
2024-04-16 07:04:34 -05:00
Ottatop
ce8b56eee8 Add Output::setup
Still needs polishing and more importantly testing, also the Lua impl isn't finished yet
2024-04-15 15:50:09 -05:00
Ottatop
023ebe8a2d Add output resize and move signals 2024-04-12 11:46:52 -05:00
Ottatop
6d78436d18 Add TagHandle::windows 2024-04-12 07:57:22 -05:00
Ottatop
1ba636f39f Bump dependencies 2024-04-12 07:24:37 -05:00
Ottatop
6053dd8ee4
Merge pull request #200 from LogicalOverflow/nix-flake
Replace shell.nix with a updated flake.nix
2024-04-12 07:11:11 -05:00
Leon Vack
e06416f048 Replace shell.nix with a updated flake.nix 2024-04-12 08:48:49 +02:00
Ottatop
0b70040f62 Position popup on reposition request 2024-04-11 18:17:41 -05:00
Ottatop
8915ef3865 Finish simplifying popup logic 2024-04-11 18:11:43 -05:00
Ottatop
97efdb854c Start simplifying popup logic
So uh when did Smithay have all these popup helpers, did I just not read the docs hard enough
2024-04-11 14:49:30 -05:00
Ottatop
220be6d505 Move tests into separate mods 2024-04-11 12:35:48 -05:00
Ottatop
bb01cd9563 Schedule render on popup destroy and x11 window map 2024-04-11 11:12:23 -05:00
Ottatop
a4e1a63efd Remove CropRenderElement from window render elements 2024-04-10 14:02:48 -05:00
Ottatop
4a1a01a5a4 Render overlay layers above fullscreen windows 2024-04-10 13:32:33 -05:00
Ottatop
89a3e592a1
Merge pull request #197 from pinnacle-comp/gamma_control
Implement wlr-gamma-control
2024-04-10 09:45:25 -05:00
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
732e4ba727 README: update/remove old stuff 2024-04-07 02:20:07 -05:00
Ottatop
76fc825b51 Render everything when there's a fullscreen window
And properly handle input and layering this time
2024-04-07 01:56:36 -05:00
Ottatop
485dba69d6 Revert "Render everything when there's a fullscreen window"
This reverts commit a0aa30fec1.

gj me you failed to realize that now layer surfaces render above
fullscreen windows
2024-04-06 21:21:49 -05:00
Ottatop
a0aa30fec1 Render everything when there's a fullscreen window 2024-04-06 21:06:40 -05:00
Ottatop
bf4e270bfc Bump dependencies 2024-04-06 16:14:45 -05:00
Ottatop
ea932e48ea Only allow floating x11 windows to resize themselves 2024-04-06 16:09:28 -05:00
Ottatop
e91dea5d95
Merge pull request #187 from pinnacle-comp/screencopy
Implement wlr-screencopy
2024-04-04 00:35:58 -05:00
Ottatop
4ff49385f5 Warn for unwrap in lib 2024-04-04 00:25:17 -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
4c41fe1f65 Merge branch 'main' into screencopy 2024-04-01 22:37:07 -05:00
Jörg Sommer
9ff28fc9cd Improve config errors
Co-authored-by: Ottatop <120758733+Ottatop@users.noreply.github.com>
2024-04-01 22:26:51 -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
7cd7e31397 Scaffold wlr-screencopy
Currently panics if you try to use it. Need to refactor the rendering first
2024-03-30 21:23:01 -05:00