VirtualBox

Ignore:
Timestamp:
Jun 16, 2020 4:18:46 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138669
Message:

DevVGA-SVGA3d: Jettison the titlebar and border of the window we pass to CreateDeviceEx, as things goes sideways if we don't have any pixels in the client area. The titlebar size and stuff changes with the subsystem/os version number in the PE header, so when the new linker started putting 6.00 there instead of 5.02, things stopped working on a bunch of W10 systems. [fix] bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp

    r84849 r84852  
    214214               SWP_FRAMECHANGED thru SetWindowPos. */
    215215            LONG flStyle = GetWindowLongW(hwnd, GWL_STYLE);
    216             flStyle &= ~WS_CAPTION /* both titlebar and border. Some paranoia: */ | WS_THICKFRAME | WS_SYSMENU;
     216            flStyle &= ~(WS_CAPTION /* both titlebar and border. Some paranoia: */ | WS_THICKFRAME | WS_SYSMENU);
    217217            SetWindowLong(hwnd, GWL_STYLE, flStyle);
    218218            SetWindowPos(hwnd, NULL, 0, 0, 0, 0,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette