diff options
author | Adam Jackson <ajax@redhat.com> | 2019-08-27 15:50:23 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-08-27 17:38:59 -0400 |
commit | e0e051a3920e3e2731d35807e00d30ba9ef7f122 (patch) | |
tree | 09d1c71dc8e6b39ef346e376f4b93e1af0f67c72 /dix | |
parent | 7968d10fadd37eabd811481e1d47fe01706269f3 (diff) |
dtrace: s/#if/#ifdef/ for XSERVER_DTRACE
No functional change, matches meson style.
Diffstat (limited to 'dix')
-rw-r--r-- | dix/getevents.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dix/getevents.c b/dix/getevents.c index f83dac709..f784c68d5 100644 --- a/dix/getevents.c +++ b/dix/getevents.c @@ -1071,7 +1071,7 @@ GetKeyboardEvents(InternalEvent *events, DeviceIntPtr pDev, int type, RawDeviceEvent *raw; enum DeviceEventSource source_type = EVENT_SOURCE_NORMAL; -#if XSERVER_DTRACE +#ifdef XSERVER_DTRACE if (XSERVER_INPUT_EVENT_ENABLED()) { XSERVER_INPUT_EVENT(pDev->id, type, key_code, 0, 0, NULL, NULL); @@ -1615,7 +1615,7 @@ GetPointerEvents(InternalEvent *events, DeviceIntPtr pDev, int type, int i; int realtype = type; -#if XSERVER_DTRACE +#ifdef XSERVER_DTRACE if (XSERVER_INPUT_EVENT_ENABLED()) { XSERVER_INPUT_EVENT(pDev->id, type, buttons, flags, mask_in ? mask_in->last_bit + 1 : 0, @@ -1755,7 +1755,7 @@ GetProximityEvents(InternalEvent *events, DeviceIntPtr pDev, int type, DeviceEvent *event; ValuatorMask mask; -#if XSERVER_DTRACE +#ifdef XSERVER_DTRACE if (XSERVER_INPUT_EVENT_ENABLED()) { XSERVER_INPUT_EVENT(pDev->id, type, 0, 0, mask_in ? mask_in->last_bit + 1 : 0, @@ -1885,7 +1885,7 @@ GetTouchEvents(InternalEvent *events, DeviceIntPtr dev, uint32_t ddx_touchid, Bool emulate_pointer = FALSE; int client_id = 0; -#if XSERVER_DTRACE +#ifdef XSERVER_DTRACE if (XSERVER_INPUT_EVENT_ENABLED()) { XSERVER_INPUT_EVENT(dev->id, type, ddx_touchid, flags, mask_in ? mask_in->last_bit + 1 : 0, |