[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/36: Fix cursor size
From: |
Samuel Thibault |
Subject: |
[hurd] 01/36: Fix cursor size |
Date: |
Tue, 24 Sep 2013 12:31:12 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 0adc5f281842de582609133a5cb16817e40cfe4e
Author: Samuel Thibault <address@hidden>
Date: Thu Sep 19 01:53:56 2013 +0200
Fix cursor size
The VGA card might have a bogus cursor end value, so better always write a
value in there.
* console-client/vga-dynafont.c (dynafont_set_cursor): Always pass height -
1 as end parameter for vga_set_cursor_size.
---
console-client/vga-dynafont.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/console-client/vga-dynafont.c b/console-client/vga-dynafont.c
index 834d0ac..6745e88 100644
--- a/console-client/vga-dynafont.c
+++ b/console-client/vga-dynafont.c
@@ -964,9 +964,9 @@ dynafont_set_cursor (dynafont_t df, int standout)
if (df == active_dynafont)
{
if (standout)
- vga_set_cursor_size (1, -1);
+ vga_set_cursor_size (1, height - 1);
else
- vga_set_cursor_size ((height >= 2) ? height - 2 : 0, -1);
+ vga_set_cursor_size ((height >= 2) ? height - 2 : 0, height - 1);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (3085332 -> f351440), Samuel Thibault, 2013/09/24
- [hurd] 02/36: daemons: make sure / is writable before setting up pflocal, Samuel Thibault, 2013/09/24
- [hurd] 03/36: sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.sh, Samuel Thibault, 2013/09/24
- [hurd] 01/36: Fix cursor size,
Samuel Thibault <=
- [hurd] 04/36: hurd: add _reply suffix to the routines in process_reply.defs, Samuel Thibault, 2013/09/24
- [hurd] 05/36: hurd: add _reply suffix to the routines in fsys_reply.defs, Samuel Thibault, 2013/09/24
- [hurd] 06/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 10/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 09/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 20/36: Properly return error, Samuel Thibault, 2013/09/24
- [hurd] 19/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 15/36: Fix setting modem control lines, Samuel Thibault, 2013/09/24
- [hurd] 22/36: Rename SOCK_* into PFLOCAL_SOCK_*, Samuel Thibault, 2013/09/24
- [hurd] 13/36: Fix S_tioctl_tiocsetd returning errors, Samuel Thibault, 2013/09/24