overlay.h: reduce included headers

This commit is contained in:
tokyo4j 2025-08-31 04:38:36 +09:00 committed by Johan Malm
parent d1a9529239
commit 78d47c5c37
6 changed files with 9 additions and 6 deletions

View file

@ -2,10 +2,9 @@
#ifndef LABWC_OVERLAY_H
#define LABWC_OVERLAY_H
#include <wlr/util/box.h>
#include "common/graphic-helpers.h"
#include "regions.h"
#include "view.h"
#include "common/edge.h"
struct seat;
/* TODO: replace this with single lab_scene_rect */
struct overlay_rect {

View file

@ -18,6 +18,7 @@
#include "labwc.h"
#include "idle.h"
#include "action.h"
#include "view.h"
bool
tablet_tool_has_focused_surface(struct seat *seat)

View file

@ -15,6 +15,7 @@
#include "idle.h"
#include "labwc.h"
#include "ssd.h"
#include "view.h"
/* Holds layout -> surface offsets to report motion events in relative coords */
struct touch_point {

View file

@ -5,7 +5,6 @@
#include <wlr/types/wlr_compositor.h>
#include <wlr/render/allocator.h>
#include "config/rcxml.h"
#include "config/types.h"
#include "common/array.h"
#include "common/box.h"
#include "common/lab-scene-rect.h"
@ -15,6 +14,7 @@
#include "osd.h"
#include "output.h"
#include "theme.h"
#include "view.h"
struct osd_thumbnail_scene_item {
struct view *view;

View file

@ -6,8 +6,9 @@
#include "config/rcxml.h"
#include "labwc.h"
#include "output.h"
#include "view.h"
#include "regions.h"
#include "theme.h"
#include "view.h"
static void
create_overlay_rect(struct seat *seat, struct overlay_rect *rect,

View file

@ -7,6 +7,7 @@
#include "resize-indicator.h"
#include "ssd.h"
#include "theme.h"
#include "view.h"
bool
resize_outlines_enabled(struct view *view)