Changeset a2f173b in mainline for uspace/lib/ui/src/wdecor.c
- Timestamp:
- 2020-10-21T21:49:13Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 58a67050
- Parents:
- 172188a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/wdecor.c
r172188a ra2f173b 280 280 gfx_coord2_t pos; 281 281 ui_wdecor_geom_t geom; 282 ui_evclaim_t claim; 282 283 283 284 pos.x = event->hpos; … … 286 287 ui_wdecor_get_geom(wdecor, &geom); 287 288 288 if (gfx_pix_inside_rect(&pos, &geom.btn_close_rect)) {289 ui_pbutton_pos_event(wdecor->btn_close, event);289 claim = ui_pbutton_pos_event(wdecor->btn_close, event); 290 if (claim == ui_claimed) 290 291 return; 291 }292 292 293 293 if (event->type == POS_PRESS &&
Note:
See TracChangeset
for help on using the changeset viewer.