Commit graph

176 commits

Author SHA1 Message Date
0bb8c83300
resize windows when the monitor state changes
this may need more work later but for now this makes using mez in
another compositor smoother
2026-02-02 15:46:49 -05:00
3c65fd8339
add the minimum size back when resizing a view 2026-01-28 12:46:49 -05:00
Harrison DiAmbrosio
6875095560 removing debug logs 2026-01-19 10:47:33 -05:00
Harrison DiAmbrosio
7833498f9c properly handle true or false returns from mousemaps 2026-01-18 00:28:41 -05:00
Harrison DiAmbrosio
b37519369d got all window dragging, passthrough for mousemaps is still improper 2026-01-17 18:20:55 -05:00
1f45f27f74
it's a mousemap not a keybind 2026-01-07 23:05:39 -05:00
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