VirtualBox

Ignore:
Timestamp:
Oct 27, 2016 10:25:32 AM (8 years ago)
Author:
vboxsync
Message:

bugref:8631: FE/Qt: resizing problems with tiling window managers: set window gravity hint too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r64398 r64433  
    37503750        xcb_size_hints_t hints;
    37513751        hints.flags =   1 /* XCB_ICCCM_SIZE_HINT_US_POSITION */
    3752                       | 2 /* XCB_ICCCM_SIZE_HINT_US_SIZE */;
     3752                      | 2 /* XCB_ICCCM_SIZE_HINT_US_SIZE */
     3753                      | 512 /* XCB_ICCCM_SIZE_P_WIN_GRAVITY */;
    37533754        hints.x           = x;
    37543755        hints.y           = y;
     
    37633764        hints.base_width  = pWidget->baseSize().width();
    37643765        hints.base_height = pWidget->baseSize().height();
     3766        hints.win_gravity = XCB_GRAVITY_STATIC;
    37653767        if (hints.min_width > 0 || hints.min_height > 0)
    37663768            hints.flags |= 16 /* XCB_ICCCM_SIZE_HINT_P_MIN_SIZE */;
Note: See TracChangeset for help on using the changeset viewer.

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