c++ - X11/Xlib: Create "GlassPane"-Window -


i've tried create transparent window using c++ & x11. should not consume events , forwards them windows below. kind of glasspane it's known java-windows, full screen. i'd draw on window.

is somehow possible x11?

my first attempt ignoring events, copy image root window using xgetimage()... first of all, quite slow window need full screen. xshmgetimage unfortunately isn't option here.

for sure, window wouldn't need decoration, isn't big problem.

how using x11 / xlib only? if it's not possible, else need?

any appreciated!

ps: xinerama activated compiz, if brings problems live deactivating them.

you can create output-only window setting input shape empty.

the api xfixessetwindowshaperegion() , can set shapeinput separately shapebounding. xfixescreateregion() used region pass in.

then need rgba (with-alpha-channel) visual can draw transparent pixels of window.

a compositing window manager required in order transparency work.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -