diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-02 16:35:15 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-02 16:35:15 +0200 |
| commit | 7ddcebbbab8479ad80574db40aee8e894e411b2e (patch) | |
| tree | 9a07177066020060df21cf05b4ba1f1eefca9298 /src/command | |
| parent | 4c97531860c04f30f812f10cb73c76fa593265b6 (diff) | |
| download | river-7ddcebbbab8479ad80574db40aee8e894e411b2e.tar.gz river-7ddcebbbab8479ad80574db40aee8e894e411b2e.tar.xz | |
Make Seat a toplevel struct
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/close_view.zig | 2 | ||||
| -rw-r--r-- | src/command/exit_compositor.zig | 2 | ||||
| -rw-r--r-- | src/command/focus_output.zig | 2 | ||||
| -rw-r--r-- | src/command/focus_tags.zig | 2 | ||||
| -rw-r--r-- | src/command/focus_view.zig | 2 | ||||
| -rw-r--r-- | src/command/modify_master_count.zig | 2 | ||||
| -rw-r--r-- | src/command/modify_master_factor.zig | 2 | ||||
| -rw-r--r-- | src/command/send_to_output.zig | 2 | ||||
| -rw-r--r-- | src/command/set_view_tags.zig | 2 | ||||
| -rw-r--r-- | src/command/spawn.zig | 2 | ||||
| -rw-r--r-- | src/command/toggle_float.zig | 2 | ||||
| -rw-r--r-- | src/command/toggle_tags.zig | 2 | ||||
| -rw-r--r-- | src/command/toggle_view_tags.zig | 2 | ||||
| -rw-r--r-- | src/command/zoom.zig | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/src/command/close_view.zig b/src/command/close_view.zig index 1724b57..774307a 100644 --- a/src/command/close_view.zig +++ b/src/command/close_view.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Close the focused view, if any. pub fn close_view(seat: *Seat, arg: Arg) void { diff --git a/src/command/exit_compositor.zig b/src/command/exit_compositor.zig index ff620ee..215f17f 100644 --- a/src/command/exit_compositor.zig +++ b/src/command/exit_compositor.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Exit the compositor, terminating the wayland session. pub fn exitCompositor(seat: *Seat, arg: Arg) void { diff --git a/src/command/focus_output.zig b/src/command/focus_output.zig index 368bb96..a574dba 100644 --- a/src/command/focus_output.zig +++ b/src/command/focus_output.zig @@ -3,7 +3,7 @@ const std = @import("std"); const Arg = @import("../command.zig").Arg; const Output = @import("../output.zig").Output; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Focus either the next or the previous output, depending on the bool passed. /// Does nothing if there is only one output. diff --git a/src/command/focus_tags.zig b/src/command/focus_tags.zig index 941a129..be2ce74 100644 --- a/src/command/focus_tags.zig +++ b/src/command/focus_tags.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Switch focus to the passed tags. pub fn focusTags(seat: *Seat, arg: Arg) void { diff --git a/src/command/focus_view.zig b/src/command/focus_view.zig index ec51b83..fce180f 100644 --- a/src/command/focus_view.zig +++ b/src/command/focus_view.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); const View = @import("../view.zig").View; const ViewStack = @import("../view_stack.zig").ViewStack; diff --git a/src/command/modify_master_count.zig b/src/command/modify_master_count.zig index 6c64091..70a8ea5 100644 --- a/src/command/modify_master_count.zig +++ b/src/command/modify_master_count.zig @@ -2,7 +2,7 @@ const c = @import("../c.zig"); const std = @import("std"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Modify the number of master views pub fn modifyMasterCount(seat: *Seat, arg: Arg) void { diff --git a/src/command/modify_master_factor.zig b/src/command/modify_master_factor.zig index c522485..7c14fb8 100644 --- a/src/command/modify_master_factor.zig +++ b/src/command/modify_master_factor.zig @@ -2,7 +2,7 @@ const c = @import("../c.zig"); const std = @import("std"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Modify the percent of the width of the screen that the master views occupy. pub fn modifyMasterFactor(seat: *Seat, arg: Arg) void { diff --git a/src/command/send_to_output.zig b/src/command/send_to_output.zig index b626f93..e64d606 100644 --- a/src/command/send_to_output.zig +++ b/src/command/send_to_output.zig @@ -3,7 +3,7 @@ const std = @import("std"); const Arg = @import("../command.zig").Arg; const Output = @import("../output.zig").Output; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Send the focused view to the the next or the previous output, depending on /// the bool passed. Does nothing if there is only one output. diff --git a/src/command/set_view_tags.zig b/src/command/set_view_tags.zig index 7bc4d87..7c6c942 100644 --- a/src/command/set_view_tags.zig +++ b/src/command/set_view_tags.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Set the tags of the focused view. pub fn setViewTags(seat: *Seat, arg: Arg) void { diff --git a/src/command/spawn.zig b/src/command/spawn.zig index 495cb94..e4cfdd6 100644 --- a/src/command/spawn.zig +++ b/src/command/spawn.zig @@ -3,7 +3,7 @@ const std = @import("std"); const Arg = @import("../command.zig").Arg; const Log = @import("../log.zig").Log; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Spawn a program. pub fn spawn(seat: *Seat, arg: Arg) void { diff --git a/src/command/toggle_float.zig b/src/command/toggle_float.zig index 38250b8..33a83fb 100644 --- a/src/command/toggle_float.zig +++ b/src/command/toggle_float.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Make the focused view float or stop floating, depending on its current /// state. diff --git a/src/command/toggle_tags.zig b/src/command/toggle_tags.zig index 16bf4e5..c64b323 100644 --- a/src/command/toggle_tags.zig +++ b/src/command/toggle_tags.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Toggle focus of the passsed tags. pub fn toggleTags(seat: *Seat, arg: Arg) void { diff --git a/src/command/toggle_view_tags.zig b/src/command/toggle_view_tags.zig index a4845f1..0553152 100644 --- a/src/command/toggle_view_tags.zig +++ b/src/command/toggle_view_tags.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); /// Toggle the passed tags of the focused view pub fn toggleViewTags(seat: *Seat, arg: Arg) void { diff --git a/src/command/zoom.zig b/src/command/zoom.zig index b24683e..456fc7c 100644 --- a/src/command/zoom.zig +++ b/src/command/zoom.zig @@ -1,7 +1,7 @@ const c = @import("../c.zig"); const Arg = @import("../command.zig").Arg; -const Seat = @import("../seat.zig").Seat; +const Seat = @import("../seat.zig"); const View = @import("../view.zig").View; const ViewStack = @import("../view_stack.zig").ViewStack; |
