aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fbrun/FbRun.cc')
-rw-r--r--util/fbrun/FbRun.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc
index 6c7a53a..09f6075 100644
--- a/util/fbrun/FbRun.cc
+++ b/util/fbrun/FbRun.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbRun.cc,v 1.14 2003/07/10 10:18:08 fluxgen Exp $ 22// $Id: FbRun.cc,v 1.15 2003/07/25 11:17:41 rathnor Exp $
23 23
24#include "FbRun.hh" 24#include "FbRun.hh"
25 25
@@ -41,10 +41,10 @@
41using namespace std; 41using namespace std;
42FbRun::FbRun(int x, int y, size_t width): 42FbRun::FbRun(int x, int y, size_t width):
43 m_font("fixed"), 43 m_font("fixed"),
44 m_win((int)0, x, y, //screen num and position 44 m_display(FbTk::App::instance()->display()),
45 m_win((int)DefaultScreen(m_display), x, y, //screen num and position
45 width + m_bevel, m_font.height() + 2, // size 46 width + m_bevel, m_font.height() + 2, // size
46 KeyPressMask|ExposureMask), // eventmask 47 KeyPressMask|ExposureMask), // eventmask
47 m_display(FbTk::App::instance()->display()),
48 m_bevel(4), 48 m_bevel(4),
49 m_gc(DefaultGC(m_display, DefaultScreen(m_display))), 49 m_gc(DefaultGC(m_display, DefaultScreen(m_display))),
50 m_end(false), 50 m_end(false),