[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: |
Wed, 24 Jun 2015 17:50:57 +0300 |
> Date: Wed, 24 Jun 2015 11:17:58 +0200
> From: martin rudalics <address@hidden>
>
> I intend to apply the attached patch in order to fix this problem for
> the Windows build (see Bug#6105 and Bug#12922). Comments welcome.
Thanks.
> +static void
> +w32_toggle_invisible_pointer (struct frame *f, bool invisible)
> +{
> + block_input ();
> +
> + if (f->pointer_invisible != invisible)
> + {
> + f->pointer_invisible = invisible;
> + SET_FRAME_GARBAGED (f); <<<<<<<<<<<<<<<<<<<<<<<
> + }
That sounds excessive: I think it means that every self-inserting
character will trigger thorough redisplay of the frame. Why do you
need this? Is there any problem without marking the frame garbaged?
Also, what about the equivalent of the X code that makes the pointer
visible on focus-in events -- don't we need that on MS-Windows?
- make-pointer-invisible on Windows, martin rudalics, 2015/06/24
- Re: make-pointer-invisible on Windows,
Eli Zaretskii <=
- Re: make-pointer-invisible on Windows, martin rudalics, 2015/06/24
- Re: make-pointer-invisible on Windows, Eli Zaretskii, 2015/06/24
- Re: make-pointer-invisible on Windows, martin rudalics, 2015/06/25
- Re: make-pointer-invisible on Windows, Eli Zaretskii, 2015/06/25
- Re: make-pointer-invisible on Windows, martin rudalics, 2015/06/26
- Re: make-pointer-invisible on Windows, Eli Zaretskii, 2015/06/26
- Re: make-pointer-invisible on Windows, martin rudalics, 2015/06/26
- Re: make-pointer-invisible on Windows, Eli Zaretskii, 2015/06/26
- Re: make-pointer-invisible on Windows, martin rudalics, 2015/06/26
- Re: make-pointer-invisible on Windows, Eli Zaretskii, 2015/06/26