[Xephyr/GL] unbreak the build
Don't touch Xephyr DRI stuff when not compiling in a DRI environment.
This commit is contained in:
		
							parent
							
								
									2257e20900
								
							
						
					
					
						commit
						d74b0327e8
					
				| 
						 | 
					@ -841,6 +841,7 @@ miPointerScreenFuncRec ephyrPointerScreenFuncs =
 | 
				
			||||||
  ephyrWarpCursor
 | 
					  ephyrWarpCursor
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef XEPHYR_DRI
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * find if the remote window denoted by a_remote
 | 
					 * find if the remote window denoted by a_remote
 | 
				
			||||||
 * is paired with an internal Window within the Xephyr server.
 | 
					 * is paired with an internal Window within the Xephyr server.
 | 
				
			||||||
| 
						 | 
					@ -872,6 +873,7 @@ ephyrExposePairedWindow (int a_remote)
 | 
				
			||||||
    screen->WindowExposures (pair->local, ®, NullRegion);
 | 
					    screen->WindowExposures (pair->local, ®, NullRegion);
 | 
				
			||||||
    REGION_UNINIT (screen, ®);
 | 
					    REGION_UNINIT (screen, ®);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					#endif /*XEPHYR_DRI*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
ephyrPoll(void)
 | 
					ephyrPoll(void)
 | 
				
			||||||
| 
						 | 
					@ -948,6 +950,7 @@ ephyrPoll(void)
 | 
				
			||||||
	  KdEnqueueKeyboardEvent (ephyrKbd, ev.data.key_up.scancode, TRUE);
 | 
						  KdEnqueueKeyboardEvent (ephyrKbd, ev.data.key_up.scancode, TRUE);
 | 
				
			||||||
	  break;
 | 
						  break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef XEPHYR_DRI
 | 
				
			||||||
	case EPHYR_EV_EXPOSE:
 | 
						case EPHYR_EV_EXPOSE:
 | 
				
			||||||
	  /*
 | 
						  /*
 | 
				
			||||||
	   * We only receive expose events when the expose event have
 | 
						   * We only receive expose events when the expose event have
 | 
				
			||||||
| 
						 | 
					@ -957,6 +960,7 @@ ephyrPoll(void)
 | 
				
			||||||
	   */
 | 
						   */
 | 
				
			||||||
	  ephyrExposePairedWindow (ev.data.expose.window);
 | 
						  ephyrExposePairedWindow (ev.data.expose.window);
 | 
				
			||||||
	  break;
 | 
						  break;
 | 
				
			||||||
 | 
					#endif /*XEPHYR_DRI*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
	  break;
 | 
						  break;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue