Changeset 3e640e5 in mainline
- Timestamp:
- 2020-06-15T15:24:06Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5e3e42c7
- Parents:
- c45d8696
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rc45d8696 r3e640e5 509 509 dpos.x = drect.p0.x; 510 510 else if (placement_flags & WINDOW_PLACEMENT_CENTER_X) 511 dpos.x = (drect.p0.x + drect.p 0.y- width) / 2;511 dpos.x = (drect.p0.x + drect.p1.x - width) / 2; 512 512 else 513 513 dpos.x = drect.p1.x - width;
Note:
See TracChangeset
for help on using the changeset viewer.