Ticket #10277 (closed defect: obsolete)

Opened 8 years ago

Last modified 4 years ago

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


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(""); - 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);


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

Change History

Changed 8 years ago by onsico

comment:1 Changed 8 years ago by michael

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

comment:2 Changed 4 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use