Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vterm/vterm.c

    r3e6a98c5 r10cb47e  
    4949        }
    5050       
    51         window_t *main_window = window_open(argv[1], true, true, "vterm", 0, 0);
     51        window_t *main_window = window_open(argv[1], NULL,
     52            WINDOW_MAIN | WINDOW_DECORATED, "vterm");
    5253        if (!main_window) {
    5354                printf("%s: Cannot open main window.\n", NAME);
     
    5556        }
    5657       
    57         window_resize(main_window, 650, 510);
     58        window_resize(main_window, 0, 0, 648, 508, WINDOW_PLACEMENT_ANY);
    5859        terminal_t *terminal_widget =
    59             create_terminal(window_root(main_window), 640, 480);
     60            create_terminal(window_root(main_window), NULL, 640, 480);
    6061        if (!terminal_widget) {
    6162                window_close(main_window);
Note: See TracChangeset for help on using the changeset viewer.