Mercurial > vim
view src/testdir/test_curswant.vim @ 32464:f2138180c6f0
patch 9.0.1563: GTK3: window manager resize hints are incomplete
Commit: https://github.com/vim/vim/commit/c0da540466c89e388e7a15a12bab2f9fc42d9671
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 16 22:15:51 2023 +0100
patch 9.0.1563: GTK3: window manager resize hints are incomplete
Problem: GTK3: window manager resize hints are incomplete.
Solution: Use NULL for second argument of gtk_window_set_geometry_hints().
(Kenny Stauffer closes #11055)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 May 2023 00:00:04 +0200 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Tests for curswant not changing when setting an option func Test_curswant() new call append(0, ['1234567890', '12345']) normal! ggf8j call assert_equal(7, winsaveview().curswant) let &tabstop=&tabstop call assert_equal(4, winsaveview().curswant) normal! ggf8j call assert_equal(7, winsaveview().curswant) let &timeoutlen=&timeoutlen call assert_equal(7, winsaveview().curswant) normal! ggf8j call assert_equal(7, winsaveview().curswant) let &ttimeoutlen=&ttimeoutlen call assert_equal(7, winsaveview().curswant) enew! endfunc " vim: shiftwidth=2 sts=2 expandtab