Changes in uspace/srv/hid/display/main.c [9546146:4c6fd56] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/main.c
r9546146 r4c6fd56 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 62 62 #include "wmops.h" 63 63 64 const char *cfg_file_path = "/w/cfg/display.sif";65 66 64 static void display_client_conn(ipc_call_t *, void *); 67 65 static void display_client_ev_pending(void *); … … 139 137 goto error; 140 138 141 rc = ds_display_load_cfg(disp, cfg_file_path); 142 if (rc != EOK) { 143 log_msg(LOG_DEFAULT, LVL_NOTE, 144 "Starting with fresh configuration."); 145 146 /* Create first seat */ 147 rc = ds_seat_create(disp, "Alice", &seat); 148 if (rc != EOK) 149 goto error; 150 } 139 rc = ds_seat_create(disp, "Alice", &seat); 140 if (rc != EOK) 141 goto error; 151 142 152 143 rc = ds_output_create(&output);
Note:
See TracChangeset
for help on using the changeset viewer.