VirtualBox

Changeset 7069 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Feb 21, 2008 11:48:05 AM (17 years ago)
Author:
vboxsync
Message:

Additions/X11: more seamless fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xclient/seamless-x11.cpp

    r7059 r7069  
    156156    {
    157157        Window hClient = XmuClientWindow(mDisplay.get(), phChildren.get()[i]);
    158         if (hClient != phChildren.get()[i] && !isVirtualRoot(hClient))
     158        if (!isVirtualRoot(hClient))
    159159            addClientWindow(phChildren.get()[i]);
    160160    }
     
    244244        break;
    245245    case PropertyNotify:
    246         doPropertyEvent(&event.xproperty);
     246        // doPropertyEvent(&event.xproperty);
    247247        break;
    248248    case ShapeNotify:
     
    283283void VBoxGuestSeamlessX11::doMapEvent(const XMapEvent *event)
    284284{
    285     VBoxGuestWindowList::iterator iter;
     285/*    VBoxGuestWindowList::iterator iter;
    286286
    287287    iter = mGuestWindows.find(event->window);
     
    289289    {
    290290        iter->second->mMapped = true;
    291     }
     291    } */
     292    rebuildWindowTree();
    292293}
    293294
     
    336337void VBoxGuestSeamlessX11::doUnmapEvent(const XUnmapEvent *event)
    337338{
    338     VBoxGuestWindowList::iterator iter;
     339/*    VBoxGuestWindowList::iterator iter;
    339340
    340341    iter = mGuestWindows.find(event->window);
     
    342343    {
    343344        iter->second->mMapped = true;
    344     }
     345    } */
     346    rebuildWindowTree();
    345347}
    346348
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