mirror of
https://github.com/swaywm/sway.git
synced 2026-03-28 07:58:38 -04:00
Drop server.h include from input/input-manager.h
The only reason it's included there is for a declaration of struct sway_server, but we can just forward-declare it. This avoids rebuilding almost all of Sway when touching server.h. All other server.h includes are from source files, not headers.
This commit is contained in:
parent
df69367d92
commit
d0bd591ee7
24 changed files with 29 additions and 1 deletions
|
|
@ -7,6 +7,10 @@
|
|||
#include "list.h"
|
||||
#include "tree/view.h"
|
||||
|
||||
#if WLR_HAS_XWAYLAND
|
||||
#include "sway/xwayland.h"
|
||||
#endif
|
||||
|
||||
enum criteria_type {
|
||||
CT_COMMAND = 1 << 0,
|
||||
CT_ASSIGN_OUTPUT = 1 << 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue