mirror of
https://github.com/labwc/labwc.git
synced 2026-02-25 01:40:28 -05:00
Use proper enum argument type for desktop_surface_and_view_at
This commit is contained in:
parent
7ecae4afce
commit
413811f3a2
4 changed files with 14 additions and 8 deletions
|
|
@ -2,8 +2,6 @@
|
|||
#ifndef __LABWC_SSD_H
|
||||
#define __LABWC_SSD_H
|
||||
|
||||
#include "labwc.h"
|
||||
|
||||
/*
|
||||
* Sequence these according to the order they should be processed for
|
||||
* press and hover events. Bear in mind that some of their respective
|
||||
|
|
@ -31,6 +29,13 @@ enum ssd_part_type {
|
|||
LAB_SSD_END_MARKER
|
||||
};
|
||||
|
||||
/*
|
||||
* Defer including labwc.h because it is using enum ssd_part_type.
|
||||
* This is an issue for headers like mousebind.h which only includes
|
||||
* ssd.h but does not include labwc.h.
|
||||
*/
|
||||
#include "labwc.h"
|
||||
|
||||
struct ssd_part {
|
||||
struct wlr_box box;
|
||||
enum ssd_part_type type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue