Commit graph

190 commits

Author SHA1 Message Date
e6a45f91b6
allow borders to be configured using lua 2026-03-01 21:37:11 -05:00
b24c16b34e
borders now correctly outline a view and ensure that the view is clipped...
down to the correct size even when it doesn't want to be
2026-03-01 21:37:11 -05:00
6a5afe20e3
they are now only clipping on the bottom and right sides of the view...
this requires resizing the scene node, but I don't know how to do that
without the borders resizing aswell
2026-03-01 21:37:11 -05:00
ad26c455f8
they resize well now, just have to make them stop clipping into the view 2026-03-01 21:37:09 -05:00
3406835f9a
initial borders 2026-03-01 21:36:44 -05:00
Harrison DiAmbrosio
5421f91f41 comments 2026-02-24 16:24:24 -05:00
94bd4e0815
how is this not causing the build to fail? 2026-02-08 14:15:38 -05:00
f1245f5ba5
pass the target and optimize vars to zlua, fixes #22 2026-02-07 13:47:41 -05:00
909af734ad
send the correct keys when giving keyboard focus 2026-02-07 11:36:17 -05:00
6b4e6dce6d
views shouldn't be focusing themselves, that's the job of the focus...
function
2026-02-07 11:35:31 -05:00
f639a2f94e
keyboard repeat for compositor keybinds 2026-02-05 17:21:09 -05:00
46a359b07e fix a typo in the readme 2026-02-05 11:44:09 -05:00
Harrison DiAmbrosio
59ca592794
installation and grammar 2026-02-05 11:15:14 -05:00
Harrison DiAmbrosio
df247f6757 some very simple docs in the README for presentability 2026-02-03 17:09:24 -05:00
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