mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03: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
|
@ -5,6 +5,7 @@
|
|||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "sway/input/input-manager.h"
|
||||
#include "sway/server.h"
|
||||
#include "log.h"
|
||||
|
||||
#if WLR_HAS_LIBINPUT_BACKEND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue