VirtualBox

Opened 12 years ago

Closed 8 years ago

#10277 closed defect (obsolete)

Windows spawned by XCreateSimpeWindow() are masked in Seamless Mode

Reported by: onsico Owned by:
Component: GUI/seamless Version: VirtualBox 4.0.16
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

I am connecting to an X Server (which runs on guest linux) from my windows host (using a simple C program that calls XCreateSimpleWindow()). Window spawns on my guest with no problems, but when i enter seamless mode - my window is masked by all other windows on guest (for example: i can't see my window on a blank desktop, to see my window i have to open gedit and maximize it.) I have attached a screenshot which explains the problem.

P.S.: i use the following code on my host to spawn the window on guest:

Display *display = XOpenDisplay("10.0.0.2:0"); 10.0.0.2 - is an address of my guest OS const int screen = XDefaultScreen(display); const Window root = XRootWindow(display, screen); const Window window = XCreateSimpleWindow(display, root, 0, 0, 640, 480, 0, 0, 0); XMapWindow(display, window); XFlush(display);

Attachments (1)

Untitled.jpg (240.0 KB ) - added by onsico 12 years ago.

Download all attachments as: .zip

Change History (3)

by onsico, 12 years ago

Attachment: Untitled.jpg added

comment:1 by Michael Thayer, 12 years ago

Presumably the problem is that you haven't yet set the window manager hints and things on the window yet.

comment:2 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use