Commit graph

  • cf779de4b4
    pass the same info to all three mousemap callbacks dev Squibid 2026-03-07 18:49:47 -05:00
  • 790fad4074
    refine the pointer motion function, this is now closer to what other compositors do Squibid 2026-03-07 14:49:27 -05:00
  • 94e8388e7c
    Stop adding listeners every time a view is mapped and removing when unmapped This stops the following assertion from failing: mez: types/xdg_shell/wlr_xdg_surface.c:530: destroy_xdg_surface: Assertion `wl_list_empty(&surface->events.ack_configure.listener_list)' failed. Squibid 2026-03-06 11:08:09 -05:00
  • f60a2c5c37 turns out passing in the -u flag didn't actually work before... Additionally, in the case that the directory doesn't exist mezzaluna will default back to the config at ~/.config/mez/ Squibid 2026-03-05 09:30:01 -05:00
  • fd997e8219 clean up the ziglua code to make what's happening slightly clearer Squibid 2026-03-03 08:39:18 -05:00
  • edd0956b25
    add build time option to change where we look for the runtime directory Squibid 2026-03-03 19:36:38 -05:00
  • 12fa725505 properly load all plugins to lua package path plugins Harrison DiAmbrosio 2026-03-03 00:09:40 -05:00
  • 014aac1943
    Merge 299222a1a7 into e3e7ecd7e1 Squibid 2026-03-03 02:45:59 +00:00
  • e3e7ecd7e1 remove unused function Squibid 2026-03-02 17:30:32 -05:00
  • 87259f96cb
    don't require the color and the width in mez.view.set_border Squibid 2026-03-01 22:38:25 -05:00
  • 6be66b6a71
    reformatted with zig fmt Squibid 2026-03-01 22:23:31 -05:00
  • e6a45f91b6
    allow borders to be configured using lua Squibid 2026-03-01 21:28:53 -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 Squibid 2026-02-24 14:00:04 -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 Squibid 2026-02-07 11:29:58 -05:00
  • ad26c455f8
    they resize well now, just have to make them stop clipping into the view Squibid 2026-02-02 15:42:06 -05:00
  • 3406835f9a
    initial borders Squibid 2026-02-02 00:23:09 -05:00
  • 5421f91f41 comments Harrison DiAmbrosio 2026-02-24 16:24:24 -05:00
  • 94bd4e0815
    how is this not causing the build to fail? Squibid 2026-02-08 14:14:49 -05:00
  • f1245f5ba5
    pass the target and optimize vars to zlua, fixes #22 Squibid 2026-02-07 13:47:41 -05:00
  • 909af734ad
    send the correct keys when giving keyboard focus Squibid 2026-02-07 11:36:17 -05:00
  • 6b4e6dce6d
    views shouldn't be focusing themselves, that's the job of the focus... function Squibid 2026-02-07 11:35:31 -05:00
  • f639a2f94e
    keyboard repeat for compositor keybinds Squibid 2026-02-05 17:17:36 -05:00
  • 46a359b07e fix a typo in the readme Squibid 2026-02-05 11:44:09 -05:00
  • 59ca592794
    installation and grammar Harrison DiAmbrosio 2026-02-05 11:15:14 -05:00
  • df247f6757 some very simple docs in the README for presentability Harrison DiAmbrosio 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 Squibid 2026-02-02 15:46:49 -05:00
  • 3c65fd8339
    add the minimum size back when resizing a view Squibid 2026-01-28 12:46:49 -05:00
  • 6875095560 removing debug logs Harrison DiAmbrosio 2026-01-19 10:47:33 -05:00
  • 7833498f9c properly handle true or false returns from mousemaps Harrison DiAmbrosio 2026-01-18 00:28:10 -05:00
  • b37519369d got all window dragging, passthrough for mousemaps is still improper Harrison DiAmbrosio 2026-01-17 18:20:55 -05:00
  • 299222a1a7
    input sim! programmatic-input-sim Squibid 2026-01-09 14:37:51 -05:00
  • 1f45f27f74
    it's a mousemap not a keybind Squibid 2026-01-07 23:05:39 -05:00
  • 22e3553580 set x cursor type in lua Harrison DiAmbrosio 2026-01-07 21:43:49 -05:00
  • 42204bc4d2 started letting/denying passthrough of mouse events Harrison DiAmbrosio 2026-01-07 01:18:39 -05:00
  • 973ea9d509 drag working, good callback arguments for moving and resizing views Harrison DiAmbrosio 2026-01-06 22:21:30 -05:00
  • 9d8463255c basic add and del mousemaps work, drag is yet to be implemented Harrison DiAmbrosio 2026-01-05 15:49:29 -05:00
  • 4a550612ba
    Merge 0417918562 into afed68101c Squibid 2026-01-05 03:31:27 +00:00
  • 64dccb248d basic mousemap stuff, probably needs to be changed Harrison DiAmbrosio 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 Squibid 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 Squibid 2025-12-22 20:17:09 -05:00
  • dd09196e02
    implement primary selection Squibid 2025-12-22 20:16:07 -05:00
  • 86d4a7932d
    remove waiting_room, we never really used it Squibid 2025-12-22 20:15:32 -05:00
  • e81334cf45
    cleanup build.zig Squibid 2025-12-22 15:44:03 -05:00
  • e4fa0c4521
    add two new lua api functions to interact with repeat info Squibid 2025-12-20 19:33:18 -05:00
  • 0417918562
    adding keymapping to the layout_manager layout-manager Squibid 2025-12-20 16:30:03 -05:00
  • dafe3a72fe
    luajit was crashing mez without erroring Squibid 2025-12-19 23:46:22 -05:00
  • 7f847ee468
    layout on each monitor Squibid 2025-12-19 23:45:48 -05:00
  • b03738534b
    layout manager Squibid 2025-12-19 23:22:20 -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 Squibid 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 Squibid 2025-12-18 17:23:00 -05:00
  • 2e27a5807a
    zig can tag unions for us Squibid 2025-12-16 15:43:13 -05:00
  • 8e7423339c
    lua api to interact with remote clients closes #10 Squibid 2025-12-16 15:34:16 -05:00
  • d4a0abe762 Merge branch 'bouncing' into dev Harrison DiAmbrosio 2025-12-15 23:15:49 -05:00
  • a5f5bba78e fullscreen mostly implemented Harrison DiAmbrosio 2025-12-15 23:14:33 -05:00
  • a90c106b8c focusing of surfaces or more streamlined Harrison DiAmbrosio 2025-12-15 20:00:49 -05:00
  • 4b3e1bbd5d ts don't work Harrison DiAmbrosio 2025-12-15 08:56:13 -05:00
  • 8d980ad032
    hooks can now be deleted Squibid 2025-12-14 20:41:26 -05:00
  • 49e0875a85 fullscreen Harrison DiAmbrosio 2025-12-14 20:35:07 -05:00
  • 209cd8a540 xdg_activation works Harrison DiAmbrosio 2025-12-14 11:48:05 -05:00
  • 42d66ea2b6 debug scene tree printer, layers are functional again Harrison DiAmbrosio 2025-12-14 11:33:44 -05:00
  • 44f694f916 layer shells do not appear Harrison DiAmbrosio 2025-12-14 10:25:02 -05:00
  • 49a6ced28e tiling is working again, and surface at is mostly in Harrison DiAmbrosio 2025-12-13 23:38:29 -05:00
  • da4629a871
    switch to luajit Squibid 2025-12-13 21:24:17 -05:00
  • 7537778e23
    add more safety in the lua api Squibid 2025-12-13 09:03:10 -05:00
  • bfdc8b8c9d
    more safety in lua stuff Squibid 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 Squibid 2025-12-13 07:58:58 -05:00
  • 1039e3a800 still working on migrating to the new SceneNodeData Harrison DiAmbrosio 2025-12-13 00:30:42 -05:00
  • 12aa7b6448
    make sure all callbacks send their errors to the remote lua clients Squibid 2025-12-12 17:42:51 -05:00
  • 7a619ab770
    fix only one hook working per event (I forgot to zero the memory) Squibid 2025-12-12 17:34:22 -05:00
  • 2da4e1e938
    update wlr-layer-shell-unstable-v1 to 5 and increment other protcol numbers Squibid 2025-12-12 15:41:42 -05:00
  • 8e3c38c6c2
    remove useless return Squibid 2025-12-12 12:47:03 -05:00
  • ced6189a64
    add command line args Squibid 2025-12-12 12:46:39 -05:00
  • 354b915300
    wlroots gives us a bunch of free protocols Squibid 2025-12-11 15:52:35 -05:00
  • d68fb842b5
    add some more events to hook into Squibid 2025-12-10 23:15:06 -05:00
  • 1e973eff94
    fix lua oom errors Squibid 2025-12-10 22:31:18 -05:00
  • 9553e3831f
    fix internal struct name of Input.zig Squibid 2025-12-10 22:25:00 -05:00
  • ec8b86cbb7
    clean up lua stuff a bit and add mez.inspect Squibid 2025-12-10 21:03:03 -05:00
  • 1f2e333846
    Merge branch 'mez_remote_lua' into dev Squibid 2025-12-10 20:19:42 -05:00
  • 64713dc0c3
    fix repl evaluations Squibid 2025-12-10 14:12:14 -05:00
  • 60a8466fe8
    copy with sentinel instead of manually adding it Squibid 2025-12-10 14:09:44 -05:00
  • 41865d11ab
    send evaluation of statements to remote lua clients Squibid 2025-12-10 13:44:38 -05:00
  • 6fcb13741a
    rework how remote lua clients are stored in the server Squibid 2025-12-10 13:43:12 -05:00
  • 87368dbc66 basic layer keyboard Harrison DiAmbrosio 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. Squibid 2025-12-04 16:28:24 -05:00
  • 3203839a58 alt-p for wmenu and alt-b for background (works on my machine_ Harrison DiAmbrosio 2025-12-07 11:44:59 -05:00
  • 1a5051236e Merge branch 'dev' of https://github.com/MezzalunaWM/Mezzaluna into dev merge Harrison DiAmbrosio 2025-12-07 11:27:06 -05:00
  • e5a36b4d0b starting at keyboard exclusivity Harrison DiAmbrosio 2025-12-07 11:26:55 -05:00
  • a45d534839
    arrange the layers in the correct order Squibid 2025-12-06 23:10:54 -05:00
  • a8e77be43b layer shell backgrounds now render behind views Harrison DiAmbrosio 2025-12-05 21:29:28 -05:00
  • 7265fecfaf Merge branch 'layer_shell' into dev merge Harrison DiAmbrosio 2025-12-05 21:12:08 -05:00
  • 4c88d42929 layers mostly implemented Harrison DiAmbrosio 2025-12-05 21:10:34 -05:00
  • 7cd6415a75
    fix the docs on the output.get_name() lua function Squibid 2025-12-05 21:09:10 -05:00
  • 63109e07da
    setting the focused view shouldn't crash the compositor Squibid 2025-12-05 20:39:33 -05:00
  • 98dbdc1570
    add another marker Squibid 2025-12-05 20:10:35 -05:00
  • 9d5240aaa5
    try to not crash on keymap callbacks Squibid 2025-12-05 20:09:41 -05:00
  • 9186aeecd3 viewById works again, layer still ontop of other things Harrison DiAmbrosio 2025-12-04 23:50:39 -05:00
  • 94295d3d69
    up the xdg_wm_base version to a more modern version Squibid 2025-11-30 23:55:21 -05:00
  • 028485d68f
    more lua docs for zlua functions Squibid 2025-11-30 23:49:19 -05:00
  • 3ccf47e0be I should really put this layer shell stuff on another branch Harrison DiAmbrosio 2025-11-30 23:41:55 -05:00
  • 1e31875670
    redirect stdout/stderr in remote lua states Squibid 2025-11-30 23:34:26 -05:00