Changeset 195b7b3 in mainline for uspace/srv/hid/display/display.c
- Timestamp:
- 2020-06-22T15:25:48Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8e1f93
- Parents:
- 5271e4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/display.c
r5271e4c r195b7b3 208 208 * @param id Window ID 209 209 */ 210 #include <stdio.h>211 210 ds_window_t *ds_display_find_window(ds_display_t *display, ds_wnd_id_t id) 212 211 { … … 214 213 ds_window_t *wnd; 215 214 216 printf("ds_display_find_window: id=0x%x\n", (unsigned) id);217 218 215 client = ds_display_first_client(display); 219 216 while (client != NULL) { 220 printf("ds_display_find_window: client=%p\n", client);221 217 wnd = ds_client_find_window(client, id); 222 if (wnd != NULL) { 223 printf("ds_display_find_window: found wnd=%p id=0x%x\n", 224 wnd, (unsigned) wnd->id); 218 if (wnd != NULL) 225 219 return wnd; 226 } 220 227 221 client = ds_display_next_client(client); 228 222 } 229 223 230 printf("ds_display_find_window: not found\n");231 224 return NULL; 232 225 }
Note:
See TracChangeset
for help on using the changeset viewer.