mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-18 08:11:02 +00:00
The default 'Rect' constructor constructs an invalid rectangle where the p1 coordinates are lower than the p2 coordinates. In particular, p1 is set to (1, 1). The 'Widget' implementation uses the points individually as input into the 'Animated_rect' mechanism. This way, widgets end up being positioned at (1, 1) initially and are moved to (0, 0) once the first layout update is applied. By explicitly initializing the '_geometry' to (0x0+0+0), we avoid this initial artifact.
This directory is a source-code repository containing Genode-specific services and applications. In contrast to the components that come with the 'os' repository, programs contained in 'gems' are able to leverage the functionalities provided by higher-level repositories such as 'libports'. To use the 'gems' repository, make sure to also add those repositories to your build configuraion.