View | Details | Raw Unified | Return to bug 9840
Collapse All | Expand All

(-)xorg-server-1.5.3.orig/xserver/hw/xwin/winmultiwindowwndproc.c (+8 lines)
Lines 468-473 Link Here
468
      HandleCustomWM_INITMENU ((unsigned long)hwnd, wParam);
468
      HandleCustomWM_INITMENU ((unsigned long)hwnd, wParam);
469
      break;
469
      break;
470
470
471
    case WM_ERASEBKGND:
472
      /*
473
       * Pretend that we did erase the background but we don't care,
474
       * since we repaint the entire region anyhow
475
       * This avoids some flickering when resizing.
476
       */
477
      return TRUE;
478
471
    case WM_PAINT:
479
    case WM_PAINT:
472
      /* Only paint if our window handle is valid */
480
      /* Only paint if our window handle is valid */
473
      if (hwndScreen == NULL)
481
      if (hwndScreen == NULL)
(-)xorg-server-1.5.3.orig/xserver/hw/xwin/winwin32rootlesswndproc.c (+11 lines)
Lines 779-784 Link Here
779
      SendMessage (hwndScreen, message, wParam, lParam);
779
      SendMessage (hwndScreen, message, wParam, lParam);
780
      return 0;
780
      return 0;
781
781
782
    case WM_ERASEBKGND:
783
#if CYGDEBUG
784
      winDebug ("winMWExtWMWindowProc - WM_ERASEBKGND\n");
785
#endif
786
      /*
787
       * Pretend that we did erase the background but we don't care,
788
       * since we repaint the entire region anyhow
789
       * This avoids some flickering when resizing.
790
       */
791
      return TRUE;
792
782
    case WM_PAINT:
793
    case WM_PAINT:
783
    
794
    
784
      /* BeginPaint gives us an hdc that clips to the invalidated region */
795
      /* BeginPaint gives us an hdc that clips to the invalidated region */

Return to bug 9840