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: martin rudalics
Subject: Re: make-pointer-invisible on Windows
Date: Tue, 30 Jun 2015 08:01:53 +0200

> 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.

Then if we didn't erase here there would be no gaps.  Would it be a
silly idea to pass the erase call to the main thread?

martin



reply via email to

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