On Wed, Jun 26, 2019 at 3:41 AM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 8.1.1597
> Problem: Cannot scroll a popup window with the mouse.
> Solution: If the popup window has a scrollbar let the mouse scroll wheel
> scroll the window.
> Files: runtime/doc/popup.txt, src/normal.c, src/popupwin.c, src/screen.c,
> src/testdir/dumps/Test_popupwin_firstline.dump,
> src/testdir/dumps/Test_popupwin_scroll_1.dump,
> src/testdir/dumps/Test_popupwin_scroll_2.dump,
> src/testdir/dumps/Test_popupwin_scroll_3.dump,
> src/testdir/dumps/Test_popupwin_scroll_5.dump,
> src/testdir/dumps/Test_popupwin_scroll_6.dump,
> src/testdir/dumps/Test_popupwin_scroll_7.dump
This adds an additional warning, also in Normal Big and Huge only, in
addition to the one I got after applying patch 8.1.1596:
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -O2 -fno-strength-reduce -Wall -D_REENTRANT
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/normal.o
normal.c
normal.c: In function ‘nv_mousescroll’:
normal.c:4565:14: warning: ‘wp’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
int height = wp->w_height;
^~~~~~
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAJkCKXvHmj7gN9BOLc9%2BufCp0%2BEHFa2Z5TQzhzPJDMcJwwuN2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.