JIoJIaJIu
JIoJIaJIu

Reputation: 155

XGetImage from hidden screen

I'm using Xlib for my application and would like get image from root window
I open separated Xserver in another tty (:1) then opened this diplay

XGetDisplay(":1")

I'm working in :0 display
After I get default screen and root window and want to get image of this root window
Unfortunately I've got only black screen if my window is hidden
Can I someway force X11 to render window if it's hidden?

Upvotes: 2

Views: 897

Answers (1)

Andrey Sidorov
Andrey Sidorov

Reputation: 25466

When not visible on screen X11 windows don't have to keep their surface pixmaps. You can force this with Composite extension, NameWindowPixmap request

Upvotes: 2

Related Questions