mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
Only call xf86platformVTProbe() when defined
Signed-off-by: 9olaris <251053665+9olaris@users.noreply.github.com>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult
parent
86a0ae295a
commit
7b72ce3a23
@@ -38,14 +38,16 @@
|
||||
#include "os.h"
|
||||
#include "xf86.h"
|
||||
#include "xf86_priv.h"
|
||||
#ifdef XSERVER_PLATFORM_BUS
|
||||
#include "xf86platformBus_priv.h"
|
||||
#include "xf86platformBus.h"
|
||||
#endif
|
||||
#include "xf86Xinput.h"
|
||||
#include "xf86Xinput_priv.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "globals.h"
|
||||
|
||||
#include "config/hotplug_priv.h"
|
||||
#include "xf86platformBus_priv.h"
|
||||
|
||||
#include "seatd-libseat.h"
|
||||
|
||||
@@ -89,7 +91,9 @@ enable_seat(struct libseat *seat, void *userdata)
|
||||
}
|
||||
}
|
||||
xf86InputEnableVTProbe(); /* Add any paused input devices */
|
||||
#ifdef XSERVER_PLATFORM_BUS
|
||||
xf86platformVTProbe(); /* Probe for outputs */
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user