genodelabs / genode-world

Collection of community-maintained components for Genode
Other
44 stars 46 forks source link

Morph: get screen info for URL on command line #313

Closed cproc closed 1 year ago

cproc commented 1 year ago

The Morph browser obtains screen information via qApp->focusWindow(), but if a URL is given as command line argument, the focus window is apparently not set yet when the screen information is requested for this initial web page. Use qApp->primaryScreen() in that case.

cproc commented 1 year ago

Fixed by 2bca625.

nfeske commented 1 year ago

Merged to staging.