mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 04:57:32 -04:00
fullscreen mostly implemented
This commit is contained in:
parent
a90c106b8c
commit
a5f5bba78e
6 changed files with 47 additions and 26 deletions
|
|
@ -196,7 +196,9 @@ pub fn set_focused(L: *zlua.Lua) i32 {
|
|||
pub fn toggle_fullscreen(L: *zlua.Lua) i32 {
|
||||
const view_id = LuaUtils.coerceInteger(u64, L.checkInteger(1)) catch view_id_err(L);
|
||||
|
||||
std.log.debug("fullscreen view {d}", .{view_id});
|
||||
if(LuaUtils.viewById(view_id)) |v| {
|
||||
std.log.debug("toggling fullscreen", .{});
|
||||
v.toggleFullscreen();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue