change window timeout more transparently

This commit is contained in:
Andrzej Rybczak
2014-08-31 10:09:47 +02:00
parent 966f3ef927
commit 9c9c190742
7 changed files with 39 additions and 28 deletions

View File

@@ -46,6 +46,8 @@ struct Visualizer: Screen<NC::Window>, Tabbable
virtual void update() OVERRIDE;
virtual void scroll(NC::Scroll) OVERRIDE { }
virtual int windowTimeout() OVERRIDE;
virtual void enterPressed() OVERRIDE { }
virtual void spacePressed() OVERRIDE;
@@ -58,8 +60,6 @@ struct Visualizer: Screen<NC::Window>, Tabbable
void ResetFD();
void FindOutputID();
static const int WindowTimeout;
protected:
virtual bool isLockable() OVERRIDE { return true; }