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
|
#ifndef LABWC_OVERLAY_H
|
||||||
#define LABWC_OVERLAY_H
|
#define LABWC_OVERLAY_H
|
||||||
|
|
||||||
#include <wlr/util/box.h>
|
#include "common/edge.h"
|
||||||
#include "common/graphic-helpers.h"
|
|
||||||
#include "regions.h"
|
struct seat;
|
||||||
#include "view.h"
|
|
||||||
|
|
||||||
/* TODO: replace this with single lab_scene_rect */
|
/* TODO: replace this with single lab_scene_rect */
|
||||||
struct overlay_rect {
|
struct overlay_rect {
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
#include "labwc.h"
|
#include "labwc.h"
|
||||||
#include "idle.h"
|
#include "idle.h"
|
||||||
#include "action.h"
|
#include "action.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
bool
|
bool
|
||||||
tablet_tool_has_focused_surface(struct seat *seat)
|
tablet_tool_has_focused_surface(struct seat *seat)
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
#include "idle.h"
|
#include "idle.h"
|
||||||
#include "labwc.h"
|
#include "labwc.h"
|
||||||
#include "ssd.h"
|
#include "ssd.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
/* Holds layout -> surface offsets to report motion events in relative coords */
|
/* Holds layout -> surface offsets to report motion events in relative coords */
|
||||||
struct touch_point {
|
struct touch_point {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
#include <wlr/types/wlr_compositor.h>
|
#include <wlr/types/wlr_compositor.h>
|
||||||
#include <wlr/render/allocator.h>
|
#include <wlr/render/allocator.h>
|
||||||
#include "config/rcxml.h"
|
#include "config/rcxml.h"
|
||||||
#include "config/types.h"
|
|
||||||
#include "common/array.h"
|
#include "common/array.h"
|
||||||
#include "common/box.h"
|
#include "common/box.h"
|
||||||
#include "common/lab-scene-rect.h"
|
#include "common/lab-scene-rect.h"
|
||||||
|
|
@ -15,6 +14,7 @@
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
struct osd_thumbnail_scene_item {
|
struct osd_thumbnail_scene_item {
|
||||||
struct view *view;
|
struct view *view;
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,9 @@
|
||||||
#include "config/rcxml.h"
|
#include "config/rcxml.h"
|
||||||
#include "labwc.h"
|
#include "labwc.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "view.h"
|
#include "regions.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
create_overlay_rect(struct seat *seat, struct overlay_rect *rect,
|
create_overlay_rect(struct seat *seat, struct overlay_rect *rect,
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
#include "resize-indicator.h"
|
#include "resize-indicator.h"
|
||||||
#include "ssd.h"
|
#include "ssd.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
bool
|
bool
|
||||||
resize_outlines_enabled(struct view *view)
|
resize_outlines_enabled(struct view *view)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue