OS/2, eCS & ArcaOS - Technical > Applications

How to modify the border width of win-os2 seamless window?

<< < (2/2)

David McKenna:
Lars,

  I never paid much attention to those 'Win_Res_xx' entries in OS2.ini - but noticed there is no entry for 1920x1080 resolutions. Do you know if this can be manually added? It looks like, besides the display drivers (entries 51 and 52), the entries only determine the font to use. If they can be added, then using the github screen driver, 1920x1080 could be added to explicitly call out that driver (which is what it seems to be good for). Anyone know of a document that describes these settings in OS2.ini?

Regards,

Lars:
The best I can think of is to look into "Presentation Manager Driver" source code and see how it is being used. Other than that, I would not know.

KO Myung-Hun:

--- Quote from: Lars on November 04, 2025, 08:41:10 am ---What happens if you maximize and then restore a window while in seamless mode ?

--- End quote ---

Nothing.


--- Quote ---Another idea: open Windows in full screen mode, go to ProgramManager->ControlPanel->Desktop and set "Border Width" to say 3. Maybe you need to change back and forth between two values. The default value seems to be 3. Note that this will not be possible if you are in seamless mode !

If that still does not help: there are entries in OS2.INI like "WIN_RES_x". In each of these there are 4 keys that reference what windows display driver is in use for fullscreen and seamless, respectively. Maybe you will have to manually update each of these to match your settings in system.ini.

--- End quote ---

I already did what you said, but no helps.

Even though I renamed my MDOS dir and copied a MDOS dir from other OS/2 installation and reset to VGA mode, they do not change anything.

I don't understand that the border width of a seamless window comes from where.

KO Myung-Hun:
I've found a clue. If disabling XWP v1.0.17, the border width is back to 5 from 28.

At least, XWP is related to this problem, and I've found the clue to fix too thick border width of WIN-OS2 seamless window.

KO Myung-Hun:
Ok, I've found the cause for the border width being too thick. It's PM Downloader. PM Downloader was in XWorkplace Startup Folder. So when disabling XWorkplace, PM Downloader does not start and the border width of WIN-OS2 seamless window becomes normal.

More precisely, if PM Downloader has too many downloaded items, this problem occurs. Cleaning the item list fixes this problem. This seems to be a memory corruption problem.

Conversely, with using this it would be possible to modify the border width of WIN-OS2 seamless window. But it is not worth doing it.

Navigation

[0] Message Index

[*] Previous page

Go to full version