Changeset a2e104e in mainline for uspace/lib/gui/window.c
- Timestamp:
- 2020-03-05T11:23:41Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e4a937
- Parents:
- 338d0935
- git-author:
- Jiri Svoboda <jiri@…> (2020-03-04 19:23:29)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-03-05 11:23:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
r338d0935 ra2e104e 272 272 static void root_handle_position_event(widget_t *widget, pos_event_t event) 273 273 { 274 gfx_coord2_t pos; 275 274 276 if (widget->window->is_decorated) { 275 277 sysarg_t width = widget->width; … … 339 341 flags |= GF_MOVE_X; 340 342 flags |= GF_MOVE_Y; 341 //win_grab(widget->window->osess, event.pos_id, flags); 343 pos.x = event.hpos; 344 pos.y = event.vpos; 345 (void) display_window_move_req(widget->window->dwindow, 346 &pos); 342 347 } else { 343 348 list_foreach(widget->children, link, widget_t, child) {
Note:
See TracChangeset
for help on using the changeset viewer.