emacs-devel
[Top][All Lists]
Advanced

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

Re: master ee6e4bc525: Update device-specific grab during drag-and-drop


From: Lars Ingebrigtsen
Subject: Re: master ee6e4bc525: Update device-specific grab during drag-and-drop
Date: Sun, 21 Aug 2022 15:03:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu via Mailing list for Emacs changes <emacs-diffs@gnu.org> writes:

>     Update device-specific grab during drag-and-drop
>
>     * src/xterm.c (x_detect_focus_change): Fix typo.
>     (handle_one_xevent): Set device if DND is in progress and update
>     device->grab.

This (or something other change in this area) leads to the following
warnings in an --with-x-toolkit=no build on the current Ubuntu:

xterm.c: In function 'handle_one_xevent':
xterm.c:21537:40: warning: potential null pointer dereference 
[-Wnull-dereference]
21537 |                           device->grab &= ~(1 << xev->detail);
      |                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
xterm.c:21537:40: warning: potential null pointer dereference 
[-Wnull-dereference]
21537 |                           device->grab &= ~(1 << xev->detail);
      |                                        ^~

I haven't checked whether it's a correct warning or not.



reply via email to

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