Commit graph

1049 commits

Author SHA1 Message Date
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
Ottatop
7e1189017b Start config after xwayland starts 2024-03-30 17:50:53 -05:00
Ottatop
145ab55dc9 Bump dependencies 2024-03-30 17:23:47 -05:00
Ottatop
5faf25a2e0
README: explicitly link issue
Thanks github
2024-03-30 16:36:28 -05:00
Ottatop
7672471d12 README: link to v0.1 tracking issue 2024-03-30 16:35:15 -05:00
Ottatop
cc00eaad19
Merge pull request #182 from pinnacle-comp/hidpi
Add HiDPI support
2024-03-30 16:07:38 -05:00
Ottatop
d6ccb53087 Merge branch 'main' into hidpi 2024-03-30 15:59:12 -05:00
Jörg Sommer
b8502f4b17 Fix minor mistakes, add some dependencies for Debian 2024-03-30 15:58:32 -05:00
Ottatop
e523d4b204 Add some docs 2024-03-30 03:20:10 -05:00
Ottatop
063164c07f Fix Rust API scaling filter setting
Remind me to set those enums to start as one, thanks
2024-03-30 02:21:44 -05:00
Ottatop
9ebc3074b9 Clean up default configs 2024-03-30 02:13:35 -05:00
Ottatop
f2156a7c94
Merge branch 'main' into hidpi 2024-03-29 21:45:38 -05:00
Ottatop
f2591076aa
README: change video to an actually recent screenshot 2024-03-29 21:29:28 -05:00
Ottatop
fe90f2200d README: add Discord and Matrix links 2024-03-29 21:28:08 -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
6a990d45d2 Add logical size to output props, use in set_loc_adj_to 2024-03-23 17:42:05 -05:00
Ottatop
5fbb3e51e9 Add scale to output properties 2024-03-23 16:55:06 -05:00
Ottatop
1907381d99 Add scale setting to Rust API 2024-03-23 16:08:51 -05:00
Ottatop
dfc7a1351e Add scale setting to API, fix fractional scaling 2024-03-23 15:23:00 -05:00
Ottatop
8d3bbf28f8 Add Pinnacle.run and use for tests 2024-03-23 01:39:07 -05:00
Ottatop
535b441887 Return from ping loop if it's the only coroutine
FIXME: this is a bandaid fix to get tests working again. Most tests will have to wait through one ping loop before exiting, causing tests to take like 10 minutes.
2024-03-23 00:43:29 -05:00
Ottatop
5da0f84350 Set drm mode when resizing output 2024-03-22 21:19:16 -05:00
Ottatop
6adb560e81 Add set mode 2024-03-22 18:58:31 -05:00
Ottatop
2fd98301e6 Add output modes to API 2024-03-22 18:37:27 -05:00
Ottatop
869a2223f5 Add keepalive pings to clients
This should clients to die if the compositor was killed but they weren't dropped
2024-03-22 16:40:06 -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
13335e9cdd Don't focus popups
Ya know there used to be a commented bit telling me to not set keyboard focus on a popup, and that mysteriously went away and I missed this check
2024-03-22 01:22:37 -05:00
Ottatop
39bf58b41c Keep track of a pending window swap
Prevents windows from getting swapped a bunch of times in one motion causing them not to actually swap
2024-03-21 20:55:02 -05:00
Ottatop
005c787f39 Set keyboard focus to layer surfaces with keyboard exclusivity 2024-03-21 20:18:14 -05:00
Ottatop
0ae090bba5 Add window raising to api 2024-03-21 18:39:27 -05:00
Ottatop
000e3eb2ca Update pointer focus without motion if different 2024-03-21 18:13:16 -05:00
Ottatop
107f4a7ff9 Layout on client unfullscreen request 2024-03-21 17:08:13 -05:00
Ottatop
d41a11347d Fix metaconfig keybinds not working
They were being cleared directly after getting set due to a previous reordering. Oops
2024-03-21 16:43:58 -05:00
Ottatop
5fd8c60f21 Fix minor bugs and do minor cleanup 2024-03-21 16:40:08 -05:00
Ottatop
2880792d9f Schedule render on layout application 2024-03-19 23:40:06 -05:00
Ottatop
86f72c10d5 Partially Revert "Add minor winit improvements"
This partially reverts commit ecd08f6023.
2024-03-19 23:38:22 -05:00
Ottatop
5d117288c2
Merge pull request #176 from pinnacle-comp/layout
Add a dynamic and configurable layout system
2024-03-16 22:08:25 -05:00
Ottatop
fcd549c947 Move stuff around and attempt to fix the docs
Futile attempt btw, what I need to do is rewrite the whole Lua doc gen thing
2024-03-16 21:48:40 -05:00