Commit graph

170 commits

Author SHA1 Message Date
Harrison DiAmbrosio
22e3553580 set x cursor type in lua 2026-01-07 21:43:49 -05:00
Harrison DiAmbrosio
42204bc4d2 started letting/denying passthrough of mouse events 2026-01-07 01:18:39 -05:00
Harrison DiAmbrosio
973ea9d509 drag working, good callback arguments for moving and resizing views 2026-01-06 22:21:30 -05:00
Harrison DiAmbrosio
9d8463255c basic add and del mousemaps work, drag is yet to be implemented 2026-01-05 15:49:29 -05:00
Harrison DiAmbrosio
64dccb248d basic mousemap stuff, probably needs to be changed 2026-01-04 22:26:55 -05:00
afed68101c
ensure that when a surface is closed that it is no longer focused
this fixes the regression introduced in the previous commit
2025-12-22 20:52:25 -05:00
1215b8e5de
some changes to views...
- properly set wm capabilities
 - ensure the the client knows about our ssds before the initial commit
 - actually hook up the ack_configure event

This commit also comes with a regression. When trying to close a
non-existent view mez crashes.
2025-12-22 20:18:51 -05:00
dd09196e02
implement primary selection 2025-12-22 20:16:07 -05:00
86d4a7932d
remove waiting_room, we never really used it 2025-12-22 20:15:32 -05:00
e81334cf45
cleanup build.zig 2025-12-22 15:44:03 -05:00
e4fa0c4521
add two new lua api functions to interact with repeat info 2025-12-20 19:33:18 -05:00
dafe3a72fe
luajit was crashing mez without erroring 2025-12-19 23:46:22 -05:00
9173cab6b9
a few changes here...
- foot no longer resizes by col,row because we've set every client to
  tiling
- stop using a seperate enum for tagging in SceneNodeData
- use enabling instead of positioning views out of the visible area
2025-12-18 22:05:31 -05:00
ff196693cd
abstract away getting a surface from a FocusData and remove popups as...
they aren't ever getting full focus
2025-12-18 17:23:00 -05:00
2e27a5807a
zig can tag unions for us 2025-12-16 15:43:13 -05:00
8e7423339c
lua api to interact with remote clients closes #10 2025-12-16 15:34:39 -05:00
Harrison DiAmbrosio
d4a0abe762 Merge branch 'bouncing' into dev 2025-12-15 23:15:49 -05:00
Harrison DiAmbrosio
a5f5bba78e fullscreen mostly implemented 2025-12-15 23:14:33 -05:00
Harrison DiAmbrosio
a90c106b8c focusing of surfaces or more streamlined 2025-12-15 20:00:49 -05:00
Harrison DiAmbrosio
4b3e1bbd5d ts don't work 2025-12-15 08:56:13 -05:00
8d980ad032
hooks can now be deleted 2025-12-15 00:37:22 -05:00
Harrison DiAmbrosio
49e0875a85 fullscreen 2025-12-14 20:35:07 -05:00
Harrison DiAmbrosio
209cd8a540 xdg_activation works 2025-12-14 11:48:05 -05:00
Harrison DiAmbrosio
42d66ea2b6 debug scene tree printer, layers are functional again 2025-12-14 11:33:44 -05:00
Harrison DiAmbrosio
44f694f916 layer shells do not appear 2025-12-14 10:25:02 -05:00
Harrison DiAmbrosio
49a6ced28e tiling is working again, and surface at is mostly in 2025-12-13 23:38:29 -05:00
da4629a871
switch to luajit 2025-12-13 22:00:53 -05:00
7537778e23
add more safety in the lua api 2025-12-13 09:03:24 -05:00
bfdc8b8c9d
more safety in lua stuff 2025-12-13 08:53:50 -05:00
54c1a976c8
add a getter for a given views size and add some safety when setting the size 2025-12-13 08:43:22 -05:00
Harrison DiAmbrosio
1039e3a800 still working on migrating to the new SceneNodeData 2025-12-13 00:30:42 -05:00
12aa7b6448
make sure all callbacks send their errors to the remote lua clients 2025-12-12 17:42:51 -05:00
7a619ab770
fix only one hook working per event (I forgot to zero the memory) 2025-12-12 17:34:22 -05:00
2da4e1e938
update wlr-layer-shell-unstable-v1 to 5 and increment other protcol numbers 2025-12-12 15:41:42 -05:00
8e3c38c6c2
remove useless return 2025-12-12 12:47:03 -05:00
ced6189a64
add command line args 2025-12-12 12:46:39 -05:00
354b915300
wlroots gives us a bunch of free protocols 2025-12-11 15:53:20 -05:00
d68fb842b5
add some more events to hook into 2025-12-10 23:15:06 -05:00
1e973eff94
fix lua oom errors 2025-12-10 22:42:54 -05:00
9553e3831f
fix internal struct name of Input.zig 2025-12-10 22:25:00 -05:00
ec8b86cbb7
clean up lua stuff a bit and add mez.inspect 2025-12-10 21:03:03 -05:00
1f2e333846
Merge branch 'mez_remote_lua' into dev 2025-12-10 20:21:10 -05:00
64713dc0c3
fix repl evaluations 2025-12-10 20:05:52 -05:00
60a8466fe8
copy with sentinel instead of manually adding it 2025-12-10 14:09:44 -05:00
41865d11ab
send evaluation of statements to remote lua clients 2025-12-10 13:44:38 -05:00
6fcb13741a
rework how remote lua clients are stored in the server 2025-12-10 13:43:12 -05:00
Harrison DiAmbrosio
87368dbc66 basic layer keyboard 2025-12-07 19:03:37 -05:00
814daf0f2e
Create popups when a view recieves an event...
This is currently incomplete and needs work to make sure that popups
stay inside their parents current output.

fixing popups, wip
2025-12-07 14:42:34 -05:00
Harrison DiAmbrosio
3203839a58 alt-p for wmenu and alt-b for background (works on my machine_ 2025-12-07 11:44:59 -05:00
Harrison DiAmbrosio
1a5051236e Merge branch 'dev' of https://github.com/MezzalunaWM/Mezzaluna into dev
merge
2025-12-07 11:27:06 -05:00