Commit graph

71 commits

Author SHA1 Message Date
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
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
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
d52192a2ba Default back to linear scaling and add config options to set 2024-03-29 11:57:35 -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
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
0ae090bba5 Add window raising to api 2024-03-21 18:39:27 -05:00
Ottatop
0bd64ee3aa Add Rust default config comments, batch tag calls 2024-03-16 21:03:01 -05:00
Ottatop
17d0760e43 Add deep copy to copy Lua layouts
This is probably not going to be in the final iteration; I think I might convert all Lua layouts to classes instead of having users deep copy them to change settings
2024-03-16 16:40:47 -05:00
Ottatop
79291d1cd9 Add rust layout docs, adhere to nonexclusive zone 2024-03-15 22:09:27 -05:00
Ottatop
75852551e2 Remove old layout system completely 2024-03-15 21:12:16 -05:00
Ottatop
a98777c11e Add Rust layouts 2024-03-15 20:51:12 -05:00
Ottatop
e3830e9c26 Fix compile errors 2024-03-12 18:40:12 -05:00
Ottatop
24696595af Finish better CLI 2024-03-03 02:25:19 -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
1abc17b5b4 Add docs 2024-02-23 17:15:55 -06:00
Ottatop
2427ba620e Yield after running signal callbacks 2024-02-23 16:51:56 -06:00
Ottatop
5db8b1c54d Merge main deadlock fix 2024-02-23 16:30:59 -06:00
Ottatop
2e0a8b940a ong I don't remember 2024-02-23 16:24:43 -06:00
Ottatop
01a9874ecd Fix deadlock again (maybe)
This took like 4 hours to figure out, async sucks wtf
2024-02-23 16:17:22 -06:00
Ottatop
a70e686bdf Fix docs 2024-02-20 21:50:59 -06:00
Ottatop
b8c5ec751b Add basic API batching for Rust
Function coloring is fun
2024-02-20 21:35:51 -06:00
Ottatop
9b5eac55d1 Fixup Cargo workspace 2024-02-17 23:50:36 -06:00
Ottatop
a41517101e Replace all futures::executor::block_on with tokio equivalent 2024-01-25 20:14:20 -06:00
Ottatop
dae790f54c Update Smithay, add MPL licenses to API libs 2024-01-22 21:04:08 -06:00
Ottatop
236f40b364 Add comments, improve macro error msgs 2024-01-22 20:27:22 -06:00
Ottatop
8356f99d84 Split tag.get, impl PartialEq, Eq, Hash for handles 2024-01-22 18:36:04 -06:00
Ottatop
9f067a0996 Fix wording 2024-01-22 00:12:32 -06:00
Ottatop
ba1b3feefb Fix typo 2024-01-22 00:09:11 -06:00
Ottatop
1cdeb59a38 Nuke the old Rust API form orbit 2024-01-21 23:45:09 -06:00