Changeset bc492d5 in mainline
- Timestamp:
- 2020-06-09T19:52:45Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 28f8f6f2
- Parents:
- 84e74ea
- Location:
- uspace/srv/hid/display
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/seat.c
r84e74ea rbc492d5 384 384 385 385 wnd = ds_display_window_by_pos(seat->display, &seat->pntpos); 386 387 if (seat->focus != wnd) { 388 rc = ds_window_post_pos_event(seat->focus, event); 389 if (rc != EOK) 390 return rc; 391 392 /* Only deliver release events to the focused window */ 393 if (event->type == POS_RELEASE) 394 return EOK; 395 } 396 386 397 if (wnd != NULL) { 387 398 /* Moving over a window */ … … 396 407 } 397 408 398 if (seat->focus != wnd) {399 rc = ds_window_post_pos_event(seat->focus, event);400 if (rc != EOK)401 return rc;402 }403 404 409 return EOK; 405 410 } -
uspace/srv/hid/display/window.c
r84e74ea rbc492d5 261 261 } 262 262 263 log_msg(LOG_DEFAULT, LVL_DEBUG, "ds_window_paint_preview");264 prect.p0.x, prect.p0.y, prect.p1.x, prect.p1.y);265 266 263 rc = gfx_color_new_rgb_i16(0xffff, 0xffff, 0xffff, &color); 267 264 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.