Artifact ac4f8f96a9b7eee73f59e93cbdac25e231a69971:
- File genode-haiku/haiku-on-genode/kits/app/Application.cpp — part of check-in [50e6768ff4] at 2024-06-12 17:47:34 on branch trunk — -- Fix Desbar etc screen positionning -- Implement BScreen.Frame(): * BScreen.Frame() no longer hardcodes 1024x768 but now directly connects to Nitpicker and requests the display mode there ; * also watch for mode changes in the BWindow/NP thread (especially important now that NP is initialized _before_ the display driver) ; * we *do* have to clamp to a minimum resolution (640x480) otherwise Deskbar etc seem to go nuts when initialized with the (initial) 0x0 res ; * get rid of now irrelevant BApplication::GeVideoMode() etc ; * realized that the initial idea of re-using the same NP connection for all windows is VERY wrong, we need a new connection for each window ; Fixup previous commits: * use gcc switch -fconcepts throughout the h/o/g build, in case it helps with the new mixer? ; * rule PosixExecutable was ok, but the posix.lib.so abi symlink was missing ; * rule BinCommand needs to make up for posix.lib.so not being included by rule PosixExe -- this buys us "sleep" and "ftpd" ; * revert some risks of regression re. static-drivers mode ; * hog-test.run didn't use the "default ahci port" feature in USE_DRIVER_MANAGER ; -- TESTS -- * the deskbar is now correctly positionned at the top-right screen corner, even in USE_DRIVER_MANAGER mode with native screen resolutions ; * that is, its ScreenChanged() hook is called when the display driver connects to Nitpicker and signals the screen resolution ; (user: user size: 44233)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.