Make Output a toplevel struct
This commit is contained in:
parent
7ddcebbbab
commit
96f2ff793c
10 changed files with 496 additions and 497 deletions
|
@ -2,7 +2,7 @@ const c = @import("../c.zig");
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
const Arg = @import("../command.zig").Arg;
|
const Arg = @import("../command.zig").Arg;
|
||||||
const Output = @import("../output.zig").Output;
|
const Output = @import("../output.zig");
|
||||||
const Seat = @import("../seat.zig");
|
const Seat = @import("../seat.zig");
|
||||||
|
|
||||||
/// Focus either the next or the previous output, depending on the bool passed.
|
/// Focus either the next or the previous output, depending on the bool passed.
|
||||||
|
|
|
@ -2,7 +2,7 @@ const c = @import("../c.zig");
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
const Arg = @import("../command.zig").Arg;
|
const Arg = @import("../command.zig").Arg;
|
||||||
const Output = @import("../output.zig").Output;
|
const Output = @import("../output.zig");
|
||||||
const Seat = @import("../seat.zig");
|
const Seat = @import("../seat.zig");
|
||||||
|
|
||||||
/// Send the focused view to the the next or the previous output, depending on
|
/// Send the focused view to the the next or the previous output, depending on
|
||||||
|
|
|
@ -3,7 +3,7 @@ const c = @import("c.zig");
|
||||||
|
|
||||||
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
||||||
const Log = @import("log.zig").Log;
|
const Log = @import("log.zig").Log;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
const Seat = @import("seat.zig");
|
const Seat = @import("seat.zig");
|
||||||
const View = @import("view.zig").View;
|
const View = @import("view.zig").View;
|
||||||
const ViewStack = @import("view_stack.zig").ViewStack;
|
const ViewStack = @import("view_stack.zig").ViewStack;
|
||||||
|
|
|
@ -3,7 +3,7 @@ const c = @import("c.zig");
|
||||||
|
|
||||||
const Box = @import("box.zig");
|
const Box = @import("box.zig");
|
||||||
const Log = @import("log.zig").Log;
|
const Log = @import("log.zig").Log;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
|
|
||||||
pub const LayerSurface = struct {
|
pub const LayerSurface = struct {
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|
975
src/output.zig
975
src/output.zig
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,7 @@ const c = @import("c.zig");
|
||||||
|
|
||||||
const Box = @import("box.zig");
|
const Box = @import("box.zig");
|
||||||
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
const Server = @import("server.zig");
|
const Server = @import("server.zig");
|
||||||
const View = @import("view.zig").View;
|
const View = @import("view.zig").View;
|
||||||
const ViewStack = @import("view_stack.zig").ViewStack;
|
const ViewStack = @import("view_stack.zig").ViewStack;
|
||||||
|
|
|
@ -4,7 +4,7 @@ const util = @import("util.zig");
|
||||||
|
|
||||||
const Box = @import("box.zig").Box;
|
const Box = @import("box.zig").Box;
|
||||||
const Log = @import("log.zig").Log;
|
const Log = @import("log.zig").Log;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
const Server = @import("server.zig");
|
const Server = @import("server.zig");
|
||||||
const Seat = @import("seat.zig").Seat;
|
const Seat = @import("seat.zig").Seat;
|
||||||
const View = @import("view.zig").View;
|
const View = @import("view.zig").View;
|
||||||
|
|
|
@ -7,7 +7,7 @@ const Cursor = @import("cursor.zig").Cursor;
|
||||||
const InputManager = @import("input_manager.zig");
|
const InputManager = @import("input_manager.zig");
|
||||||
const Keyboard = @import("keyboard.zig").Keyboard;
|
const Keyboard = @import("keyboard.zig").Keyboard;
|
||||||
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
const View = @import("view.zig").View;
|
const View = @import("view.zig").View;
|
||||||
const ViewStack = @import("view_stack.zig").ViewStack;
|
const ViewStack = @import("view_stack.zig").ViewStack;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ const Config = @import("config.zig");
|
||||||
const DecorationManager = @import("decoration_manager.zig");
|
const DecorationManager = @import("decoration_manager.zig");
|
||||||
const InputManager = @import("input_manager.zig");
|
const InputManager = @import("input_manager.zig");
|
||||||
const Log = @import("log.zig").Log;
|
const Log = @import("log.zig").Log;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
const Root = @import("root.zig").Root;
|
const Root = @import("root.zig").Root;
|
||||||
const View = @import("view.zig").View;
|
const View = @import("view.zig").View;
|
||||||
const ViewStack = @import("view_stack.zig").ViewStack;
|
const ViewStack = @import("view_stack.zig").ViewStack;
|
||||||
|
|
|
@ -3,7 +3,7 @@ const c = @import("c.zig");
|
||||||
|
|
||||||
const Box = @import("box.zig");
|
const Box = @import("box.zig");
|
||||||
const Log = @import("log.zig").Log;
|
const Log = @import("log.zig").Log;
|
||||||
const Output = @import("output.zig").Output;
|
const Output = @import("output.zig");
|
||||||
const Root = @import("root.zig").Root;
|
const Root = @import("root.zig").Root;
|
||||||
const ViewStack = @import("view_stack.zig").ViewStack;
|
const ViewStack = @import("view_stack.zig").ViewStack;
|
||||||
const XdgToplevel = @import("xdg_toplevel.zig");
|
const XdgToplevel = @import("xdg_toplevel.zig");
|
||||||
|
|
Loading…
Reference in a new issue