VirtualBox

Changeset 63269 in vbox


Ignore:
Timestamp:
Aug 10, 2016 1:52:32 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8422: Desktop-widget watchdog rework (part 16): Fixing regression caused by r109532 and r109793: Do not mix available-area resized and recalculated signals, handle them separately.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

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

    r63227 r63269  
    368368
    369369    /* Notify listeners: */
    370     emit sigHostScreenWorkAreaResized(iHostScreenIndex);
     370    emit sigHostScreenWorkAreaRecalculated(iHostScreenIndex);
    371371}
    372372#endif /* VBOX_WS_X11 */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.h

    r63227 r63269  
    5353    /** Notifies about work-area resize for the host-screen with @a iHostScreenIndex. */
    5454    void sigHostScreenWorkAreaResized(int iHostScreenIndex);
     55
     56#ifdef VBOX_WS_X11
     57    /** Notifies about work-area recalculated for the host-screen with @a iHostScreenIndex. */
     58    void sigHostScreenWorkAreaRecalculated(int iHostScreenIndex);
     59#endif /* VBOX_WS_X11 */
    5560
    5661public:
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r63175 r63269  
    11311131    connect(gpDesktop, SIGNAL(sigHostScreenWorkAreaResized(int)),
    11321132            this, SLOT(sltHandleHostScreenAvailableAreaChange()));
     1133# ifdef VBOX_WS_X11
     1134    connect(gpDesktop, SIGNAL(sigHostScreenWorkAreaRecalculated(int)),
     1135            this, SLOT(sltHandleHostScreenAvailableAreaChange()));
     1136# endif /* VBOX_WS_X11 */
    11331137#endif /* !VBOX_WS_MAC */
    11341138}
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