Commit graph

77 commits

Author SHA1 Message Date
Ottatop
ff2b78f828 Get xwayland snapshots partially working 2024-05-27 15:47:56 -05:00
Ottatop
e6b18fcec2 Make layout transactions work 2024-05-27 15:47:56 -05:00
Ottatop
1a009111d7 Add layout transactions 2024-05-27 15:47:56 -05:00
Ottatop
dbccfa9c76 Expose keyboard focus stack to API 2024-05-15 21:24:20 -05:00
Ottatop
2c209856d3 Switch to tag if activated window is not on active tag 2024-05-08 22:25:26 -05:00
Ottatop
7b006596af Uncouple config, backends, and xwayland
wow i love the single responsibility principle
2024-05-07 19:39:26 -05:00
Ottatop
feeb139b05 Don't focus windows on inactive tags 2024-05-02 23:34:21 -05:00
Ottatop
5afd58fb74 Keep track of modes for API 2024-05-02 23:16:11 -05:00
Ottatop
45ed01dd91 Update xwayland stacking in more places 2024-05-02 22:55:41 -05:00
Ottatop
b99cc8ffce Move impls to Pinnacle 2024-04-26 19:58:02 -05:00
Ottatop
8aaec59452 Split off backend and rest of State
Currently doesn't clean up anything, still need to change `impl State`s to `impl Pinnacle`s
2024-04-26 18:43:18 -05:00
Ottatop
ac15e2d566 Fix Rust API not exiting correctly
My goodness was that not fun to debug
2024-04-22 20:34:06 -05:00
Ottatop
f54516bbe3 Embed default rust config
Need to clean up how the Rust API handles shutdown signals
2024-04-21 23:45:03 -05:00
Ottatop
8df5682328 Update internal xwm window layering 2024-04-19 15:02:16 -05:00
Ottatop
457f0d3d56 Add reload config API call 2024-04-18 16:30:10 -05:00
Ottatop
1c2f639a56 Add tag active signal 2024-04-18 14:42:49 -05:00
Ottatop
0284a70c10 Add serial to ouptut properties 2024-04-17 23:01:56 -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
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
7e1189017b Start config after xwayland starts 2024-03-30 17:50:53 -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
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
dfc7a1351e Add scale setting to API, fix fractional scaling 2024-03-23 15:23:00 -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
5fd8c60f21 Fix minor bugs and do minor cleanup 2024-03-21 16:40:08 -05:00
Ottatop
75852551e2 Remove old layout system completely 2024-03-15 21:12:16 -05:00
Ottatop
e1f2706428 Add layout cycling, dwindle, remove old layout stuff 2024-03-14 19:21:51 -05:00
Ottatop
b3ba9f9393 Add new master stack layout
Currently only this layout for the Lua client works, and there's no cycling layouts yet
2024-03-14 17:31:32 -05:00
Ottatop
13ea0a683b Change TagId back to struct 2024-03-12 19:18:27 -05:00
Ottatop
9f187aba65 Extract window api impls 2024-03-12 19:09:54 -05:00
Ottatop
e3830e9c26 Fix compile errors 2024-03-12 18:40:12 -05: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
8c429f4077 Split FocusTarget into keyboard and pointer variants 2024-03-01 00:07:01 -06:00
Ottatop
48cd3d0df9 Remove space_elements!
so uh when you impl SpaceElement you gotta actually remember to impl the geometry fn, which is why Alacritty was 44 pixels off in the other attempt at this
2024-02-29 20:10:23 -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
1539f73e45 Get a signal to work 2024-02-21 19:40:11 -06:00
Ottatop
563bf7d92a Scaffold signals 2024-02-21 18:08:23 -06:00
Ottatop
fc3d15178d Dedup API handling 2024-02-18 23:05:37 -06:00