diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-30 17:54:11 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-30 18:10:10 -0700 |
commit | 22f215ac671e2cf9a7fa0f5f98ff5334713c6b24 (patch) | |
tree | d0bf0989aad08e3f660c214092a0ebe0978b8563 /ui | |
parent | f4c558294089f7449e6f536300ddd1aa94d2cf20 (diff) | |
download | petitboot-22f215ac671e2cf9a7fa0f5f98ff5334713c6b24.zip petitboot-22f215ac671e2cf9a7fa0f5f98ff5334713c6b24.tar.gz |
Increase X screen size
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/twin/main-generic.c | 2 | ||||
-rw-r--r-- | ui/twin/pbt-scr.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ui/twin/main-generic.c b/ui/twin/main-generic.c index 1e665b3..91a525b 100644 --- a/ui/twin/main-generic.c +++ b/ui/twin/main-generic.c @@ -330,7 +330,7 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } - client = pbt_client_init(opts.backend, 900, 300, kexec_cb, + client = pbt_client_init(opts.backend, 1024, 640, kexec_cb, opts.start_daemon, opts.dry_run); if (!client) { diff --git a/ui/twin/pbt-scr.c b/ui/twin/pbt-scr.c index 3d10b95..3a5a70b 100644 --- a/ui/twin/pbt-scr.c +++ b/ui/twin/pbt-scr.c @@ -378,8 +378,6 @@ struct pbt_scr *pbt_scr_init(void *talloc_ctx, enum pbt_twin_backend backend, int waiter_fd = -1; assert(backend && backend < 3); - assert(width > 100); - assert(height > 100); if (!scr) { pb_log("%s: alloc pbt_scr failed.\n", __func__); @@ -394,6 +392,9 @@ struct pbt_scr *pbt_scr_init(void *talloc_ctx, enum pbt_twin_backend backend, if (backend == pbt_twin_x11) { pb_log("%s: using twin x11 backend.\n", __func__); + assert(width > 100); + assert(height > 100); + #if !defined(HAVE_LIBTWIN_TWIN_X11_H) assert(0); #else |