mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
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
This commit is contained in:
parent
3203839a58
commit
814daf0f2e
4 changed files with 122 additions and 9 deletions
|
|
@ -15,6 +15,7 @@ const Utils = @import("Utils.zig");
|
|||
const Keymap = @import("types/Keymap.zig");
|
||||
const Hook = @import("types/Hook.zig");
|
||||
const Events = @import("types/Events.zig");
|
||||
const Popup = @import("Popup.zig");
|
||||
|
||||
const gpa = std.heap.c_allocator;
|
||||
const server = &@import("main.zig").server;
|
||||
|
|
@ -199,11 +200,8 @@ fn handleNewXdgToplevelDecoration(
|
|||
}
|
||||
}
|
||||
|
||||
fn handleNewXdgPopup(
|
||||
_: *wl.Listener(*wlr.XdgPopup),
|
||||
_: *wlr.XdgPopup
|
||||
) void {
|
||||
std.log.err("Unimplemented handle new xdg popup", .{});
|
||||
fn handleNewXdgPopup(_: *wl.Listener(*wlr.XdgPopup), xdg_popup: *wlr.XdgPopup) void {
|
||||
_ = xdg_popup;
|
||||
}
|
||||
|
||||
fn handleNewLayerSurface(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue