Commit graph

173 commits

Author SHA1 Message Date
36afbe0832
default view moving shouldn't clamp to the visible area 2025-11-22 20:46:57 -05:00
746ec6ba6f
remove duplicate function 2025-11-22 18:49:46 -05:00
c5e566736a
update log statement 2025-11-22 18:48:16 -05:00
9648dc7872
fix crashing when a view is resized too small
this is done by limiting to a minimum of 10x10 pixels, we may make this
configurable using lua in the future
2025-11-22 18:27:41 -05:00
eeb6bf2278
rename WinMap{Pre,Post} to ViewMap{Pre,Post} cause View is better 2025-11-21 23:34:08 -05:00
41cbe17262
cleanup the keymap stuff 2025-11-21 23:32:03 -05:00
b3322eeb90
inital support for hooks...
Currently the following hooks are available:
 - WinMapPre
 - WinMapPost
2025-11-21 23:30:21 -05:00
Harrison DiAmbrosio
b45544c97a im back baby 2025-11-07 22:32:22 -05:00
3b6685c25f make keybind handling much much safer 2025-10-26 22:52:05 -04:00
78da941645 remove unneeded scene_ouput destroy 2025-10-26 22:51:32 -04:00
0dad842be1 make sure everything is removed on output destroy 2025-10-26 22:21:11 -04:00
0c6d51028a fix crashing when return from vt switching away 2025-10-26 22:20:11 -04:00
db3020f370 cleanup ordering of output code and remove duplicate call to add to the
output_layout
2025-10-26 22:16:20 -04:00
cb947c15e3 remove all keyboard listeners on destroy 2025-10-26 22:09:01 -04:00
Harrison DiAmbrosio
13a91c15f0 Merge branch 'main' of https://github.com/EggbertFluffle/Mezzaluna
it must be done
2025-10-26 21:17:32 -04:00
Harrison DiAmbrosio
d9ebb6197d keyboard groups work in drm mode 2025-10-26 21:17:23 -04:00
de54d9867d you can now delete keymaps via the api 2025-10-26 19:07:39 -04:00
f710bae5f5 terminate properly instead of just deiniting everthing 2025-10-26 12:58:18 -04:00
591aa73bed we can now switch vts 2025-10-26 12:53:44 -04:00
Harrison DiAmbrosio
976900ffa6 removed all windows decorations properly, added window closing and compositor exiting as well as view focusing 2025-10-25 18:50:06 -04:00
f636efdfe9
fix merge breaking stuff 2025-10-24 23:53:56 -04:00
Harrison DiAmbrosio
3cf05f2d9a merged 2025-10-24 23:45:11 -04:00
Harrison DiAmbrosio
2e2cfeebae added process spawning 2025-10-24 23:43:11 -04:00
cc0862adae
update keymap func 2025-10-24 22:48:22 -04:00
Harrison DiAmbrosio
23ef0049f7 resizing and movement prototype done 2025-10-24 21:47:15 -04:00
Harrison DiAmbrosio
36b89b04d0 very basic window movement bound to alt-left 2025-10-24 17:24:41 -04:00
Harrison DiAmbrosio
17cdbae175 merged 2025-10-23 23:30:54 -04:00
Harrison DiAmbrosio
bb669b2d9a rewriting cursor controls 2025-10-23 23:29:38 -04:00
faa44dc4af
implement keymaps! they still have quite a bit of work to be any good...
but now our key do stuff when pressed (at the compositor level)
2025-10-23 23:24:49 -04:00
Harrison DiAmbrosio
b328c0a7c7 more error handling and oranization 2025-10-23 13:30:59 -04:00
Harrison DiAmbrosio
609ee42d66 cleaning up code, adding support for workspaces, and handling errors 2025-10-22 23:40:19 -04:00
8e4f56d147
add a basic filesystem library and use it for path concat 2025-10-22 22:40:19 -04:00
9e55195f8d
we're now loading a config file! 2025-10-22 14:23:30 -04:00
86a01bbcf2
load a runtime file where the prefix is determined at comptime 2025-10-20 22:53:17 -04:00
Harrison DiAmbrosio
6bfebb0e37 created listeners and empty event handlers for resizing and moving windows 2025-10-20 19:16:10 -04:00
ba4d403119
omg lua in mez 2025-10-20 18:28:40 -04:00
Harrison DiAmbrosio
f9e67a5681 fixed adding two scene trees bug 2025-10-20 17:58:56 -04:00
76b9d13798
fix incorrect field 2025-10-19 21:29:43 -04:00
008b9defce
staring to get the cursor focus working 2025-10-19 21:24:49 -04:00
Harrison DiAmbrosio
ee7c89721f window rendering 2025-10-19 20:40:53 -04:00
Harrison DiAmbrosio
cf7f397ed9 almost there 2025-10-19 20:23:46 -04:00
Harrison DiAmbrosio
898342400e per la senior scheiman 2025-10-19 19:18:49 -04:00
Harrison DiAmbrosio
ddc9a05f39 hi 2025-10-19 19:09:38 -04:00
Harrison DiAmbrosio
46b21391c0 simple cursor not being attached to the output layout 2025-10-19 16:44:31 -04:00
Harrison DiAmbrosio
b8419806ef reorganized into seat file and cursor file 2025-10-19 16:39:43 -04:00
Harrison DiAmbrosio
987f49bbd6 merged 2025-10-18 23:46:23 -04:00
Harrison DiAmbrosio
f10906f0fc some basic xdg surface stuff 2025-10-18 23:45:13 -04:00
7962564371
add data device manager 2025-10-18 22:36:37 -04:00
5dd3bea18d
add subsurface compositor 2025-10-18 22:35:00 -04:00
f500937b96
make sure to dereference the pointers before accessing their fields 2025-10-18 20:57:49 -04:00