Changeset ebb1489 in mainline for uspace/srv/hid/display/main.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/main.c
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2024 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 64 66 static void display_client_conn(ipc_call_t *, void *); 65 67 static void display_client_ev_pending(void *); … … 137 139 goto error; 138 140 139 rc = ds_seat_create(disp, "Alice", &seat); 140 if (rc != EOK) 141 goto error; 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 } 142 151 143 152 rc = ds_output_create(&output);
Note:
See TracChangeset
for help on using the changeset viewer.