projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
487213d
)
terminal: Don't set terminal size before we have the pty
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 21 Jun 2011 20:31:11 +0000
(16:31 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 21 Jun 2011 20:31:11 +0000
(16:31 -0400)
clients/terminal.c
patch
|
blob
|
history
diff --git
a/clients/terminal.c
b/clients/terminal.c
index
0d41226
..
6b2cc8c
100644
(file)
--- a/
clients/terminal.c
+++ b/
clients/terminal.c
@@
-2316,9
+2316,6
@@
terminal_create(struct display *display, int fullscreen)
cairo_destroy(cr);
cairo_surface_destroy(surface);
- terminal_resize(terminal, 80, 24);
- terminal_draw(terminal);
-
return terminal;
}
@@
-2368,6
+2365,9
@@
terminal_run(struct terminal *terminal, const char *path)
g_io_add_watch(terminal->channel, G_IO_IN, io_handler, terminal);
g_io_add_watch(terminal->channel, G_IO_HUP, io_handler, terminal);
+ terminal_resize(terminal, 80, 24);
+ terminal_draw(terminal);
+
return 0;
}