mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 17:29:19 +00:00
DGA guards
This commit is contained in:
parent
07f0be19b5
commit
ea61b2a4fc
@ -968,8 +968,10 @@ static void resume_emul(void)
|
||||
// Reopen full screen display
|
||||
XGrabKeyboard(x_display, rootwin, 1, GrabModeAsync, GrabModeAsync, CurrentTime);
|
||||
XGrabPointer(x_display, rootwin, 1, PointerMotionMask | ButtonPressMask | ButtonReleaseMask, GrabModeAsync, GrabModeAsync, None, None, CurrentTime);
|
||||
#ifdef ENABLE_XF86_DGA
|
||||
XF86DGADirectVideo(x_display, screen, XF86DGADirectGraphics | XF86DGADirectKeyb | XF86DGADirectMouse);
|
||||
XF86DGASetViewPort(x_display, screen, 0, 0);
|
||||
#endif
|
||||
XSync(x_display, false);
|
||||
|
||||
// the_buffer already contains the data to restore. i.e. since a temporary
|
||||
|
Loading…
Reference in New Issue
Block a user