diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-03-19 10:14:56 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-03-23 09:26:34 +0000 |
commit | 39636e38fe905ed4f256a447e3451a62624405cd (patch) | |
tree | 510e5ad7ea57d5d112f47c0231bc258a18ca0a54 /src/plugins/platforms/linuxfb | |
parent | ddf6ac03cb40c4a299f14b7f0b0c9257587ee828 (diff) | |
download | qtbase-39636e38fe905ed4f256a447e3451a62624405cd.tar.gz |
eglfs: Disable the blinking cursor
Make eglfs and linuxfb use the same code via QFbVtHandler.
Task-number: QTBUG-45106
Change-Id: I876bbf5f13bab6d4a81f616c01f15f9c98edf5fc
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/linuxfb')
-rw-r--r-- | src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp index 5407fa66dc..91708c0a47 100644 --- a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp +++ b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp @@ -264,9 +264,6 @@ static bool switchToGraphicsMode(int ttyfd, int *oldMode) return false; } - // No blankin' screen, no blinkin' cursor!, no cursor! - const char termctl[] = "\033[9;0]\033[?33l\033[?25l\033[?1c"; - QT_WRITE(ttyfd, termctl, sizeof(termctl)); return true; } @@ -274,10 +271,6 @@ static void resetTty(int ttyfd, int oldMode) { ioctl(ttyfd, KDSETMODE, oldMode); - // Blankin' screen, blinkin' cursor! - const char termctl[] = "\033[9;15]\033[?33h\033[?25h\033[?0c"; - QT_WRITE(ttyfd, termctl, sizeof(termctl)); - QT_CLOSE(ttyfd); } |