mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
CShellWindow: disable not required screean saving on text paint
Origin commit data
------------------
Commit: cc49d5a714
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-24 (Sun, 24 May 2015)
This commit is contained in:
@@ -92,6 +92,7 @@ void CShellWindow::exec()
|
|||||||
list<std::string> lines;
|
list<std::string> lines;
|
||||||
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenX(), w_shell, h_shell);
|
CBox textBoxPosition(frameBuffer->getScreenX(), frameBuffer->getScreenX(), w_shell, h_shell);
|
||||||
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
|
textBox = new CTextBox(cmd.c_str(), font, CTextBox::BOTTOM, &textBoxPosition);
|
||||||
|
textBox->enableSaveScreen(false);
|
||||||
struct pollfd fds;
|
struct pollfd fds;
|
||||||
fds.fd = fileno(f);
|
fds.fd = fileno(f);
|
||||||
fds.events = POLLIN | POLLHUP | POLLERR;
|
fds.events = POLLIN | POLLHUP | POLLERR;
|
||||||
|
Reference in New Issue
Block a user