| 968 |
// Reopen full screen display |
// Reopen full screen display |
| 969 |
XGrabKeyboard(x_display, rootwin, 1, GrabModeAsync, GrabModeAsync, CurrentTime); |
XGrabKeyboard(x_display, rootwin, 1, GrabModeAsync, GrabModeAsync, CurrentTime); |
| 970 |
XGrabPointer(x_display, rootwin, 1, PointerMotionMask | ButtonPressMask | ButtonReleaseMask, GrabModeAsync, GrabModeAsync, None, None, CurrentTime); |
XGrabPointer(x_display, rootwin, 1, PointerMotionMask | ButtonPressMask | ButtonReleaseMask, GrabModeAsync, GrabModeAsync, None, None, CurrentTime); |
| 971 |
|
#ifdef ENABLE_XF86_DGA |
| 972 |
XF86DGADirectVideo(x_display, screen, XF86DGADirectGraphics | XF86DGADirectKeyb | XF86DGADirectMouse); |
XF86DGADirectVideo(x_display, screen, XF86DGADirectGraphics | XF86DGADirectKeyb | XF86DGADirectMouse); |
| 973 |
XF86DGASetViewPort(x_display, screen, 0, 0); |
XF86DGASetViewPort(x_display, screen, 0, 0); |
| 974 |
|
#endif |
| 975 |
XSync(x_display, false); |
XSync(x_display, false); |
| 976 |
|
|
| 977 |
// the_buffer already contains the data to restore. i.e. since a temporary |
// the_buffer already contains the data to restore. i.e. since a temporary |