Opened 13 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)
Change History (3)
by , 13 years ago
Attachment: | Untitled.jpg added |
---|
comment:1 by , 13 years ago
comment:2 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Presumably the problem is that you haven't yet set the window manager hints and things on the window yet.