diff options
author | Dodji Seketeli <dodji@openedhand.com> | 2008-02-27 09:48:10 +0100 |
---|---|---|
committer | Dodji Seketeli <dodji@openedhand.com> | 2008-02-27 09:48:53 +0100 |
commit | d74b0327e8355546e6b41e8ce684f461d65fa9dc (patch) | |
tree | 7504938e7045911be571c398f806cd065a798875 /hw/kdrive/ephyr | |
parent | 2257e20900460d85254734b595238e7ad5ee55c8 (diff) |
[Xephyr/GL] unbreak the build
Don't touch Xephyr DRI stuff when not compiling in a DRI environment.
Diffstat (limited to 'hw/kdrive/ephyr')
-rw-r--r-- | hw/kdrive/ephyr/ephyr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index 738704e40..e95001dcd 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -841,6 +841,7 @@ miPointerScreenFuncRec ephyrPointerScreenFuncs = ephyrWarpCursor }; +#ifdef XEPHYR_DRI /** * find if the remote window denoted by a_remote * is paired with an internal Window within the Xephyr server. @@ -872,6 +873,7 @@ ephyrExposePairedWindow (int a_remote) screen->WindowExposures (pair->local, ®, NullRegion); REGION_UNINIT (screen, ®); } +#endif /*XEPHYR_DRI*/ void ephyrPoll(void) @@ -948,6 +950,7 @@ ephyrPoll(void) KdEnqueueKeyboardEvent (ephyrKbd, ev.data.key_up.scancode, TRUE); break; +#ifdef XEPHYR_DRI case EPHYR_EV_EXPOSE: /* * We only receive expose events when the expose event have @@ -957,6 +960,7 @@ ephyrPoll(void) */ ephyrExposePairedWindow (ev.data.expose.window); break; +#endif /*XEPHYR_DRI*/ default: break; |