diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-15 12:01:24 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-15 15:56:36 +0100 |
commit | 541e6e260c2df0346b421cacfaf4ce5d204c49ba (patch) | |
tree | 10a90352976b9d7e48e9846f8a3e8fb30b4379c5 /sway/desktop | |
parent | ca40663d4277ade2a7dfec0484db5b7881799ee4 (diff) |
Drop unnecessary includes from sway/server.h
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/layer_shell.c | 3 | ||||
-rw-r--r-- | sway/desktop/output.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 769d3a86..f0134396 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -4,7 +4,9 @@ #include <wayland-server-core.h> #include <wlr/types/wlr_layer_shell_v1.h> #include <wlr/types/wlr_output.h> +#include <wlr/types/wlr_scene.h> #include <wlr/types/wlr_subcompositor.h> +#include <wlr/types/wlr_xdg_shell.h> #include "log.h" #include "sway/scene_descriptor.h" #include "sway/desktop/transaction.h" @@ -16,7 +18,6 @@ #include "sway/server.h" #include "sway/tree/arrange.h" #include "sway/tree/workspace.h" -#include <wlr/types/wlr_scene.h> struct wlr_layer_surface_v1 *toplevel_layer_surface_from_surface( struct wlr_surface *surface) { diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 9c4baafd..81290ccb 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -12,6 +12,8 @@ #include <wlr/types/wlr_gamma_control_v1.h> #include <wlr/types/wlr_matrix.h> #include <wlr/types/wlr_output_layout.h> +#include <wlr/types/wlr_output_management_v1.h> +#include <wlr/types/wlr_output_power_management_v1.h> #include <wlr/types/wlr_output.h> #include <wlr/types/wlr_presentation_time.h> #include <wlr/types/wlr_compositor.h> |