mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
overlay.h: reduce included headers
This commit is contained in:
parent
d1a9529239
commit
78d47c5c37
6 changed files with 9 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#include "resize-indicator.h"
|
||||
#include "ssd.h"
|
||||
#include "theme.h"
|
||||
#include "view.h"
|
||||
|
||||
bool
|
||||
resize_outlines_enabled(struct view *view)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue