emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make-pointer-invisible on Windows


From: Eli Zaretskii
Subject: Re: make-pointer-invisible on Windows
Date: Mon, 29 Jun 2015 20:40:48 +0300

> Date: Mon, 29 Jun 2015 19:16:00 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden
> 
> Silly me.  It's obviously Windows who does the erasing part _before_
> sending us the WM_ERASEBKGND message and not us erase after receiving
> that message.

Maybe I'm missing something, but this:

    case WM_ERASEBKGND:
      f = x_window_to_frame (dpyinfo, hwnd);
      if (f)
        {
          HDC hdc = get_frame_dc (f);
          GetUpdateRect (hwnd, &wmsg.rect, FALSE);
          w32_clear_rect (f, hdc, &wmsg.rect); <<<<<<<<<<<<<<<<<<<<
          release_frame_dc (f, hdc);

looks to me like us erasing the rectangle.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]