mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 04:57:32 -04:00
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
This commit is contained in:
parent
ff196693cd
commit
9173cab6b9
4 changed files with 53 additions and 14 deletions
|
|
@ -150,6 +150,15 @@ fn handleMap(listener: *wl.Listener(void)) void {
|
|||
|
||||
server.events.exec("ViewMapPre", .{view.id});
|
||||
|
||||
// we're gonna tell the client that it's tiled so it doesn't try anything
|
||||
// stupid
|
||||
_ = view.xdg_toplevel.setTiled(.{
|
||||
.top = true,
|
||||
.bottom = true,
|
||||
.left = true,
|
||||
.right = true,
|
||||
});
|
||||
|
||||
view.xdg_toplevel.events.request_fullscreen.add(&view.request_fullscreen);
|
||||
view.xdg_toplevel.events.request_move.add(&view.request_move);
|
||||
view.xdg_toplevel.events.request_resize.add(&view.request_resize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue