1
Graphics / Draw a sprite on root window
« on: August 02, 2011, 08:51:12 pm »
Thanks for answer.
I'm using Ubuntu and I found that Gnome explorer, Nautilus, creates its own windows above the X root window.
It seems that some guys have created some C functions to retrieves Gnome or KDE dektop Window, to draw on it. See this http://stackoverflow.com/questions/2288456/using-desktop-as-canvas-on-linux for more information.
I'm currently trying to use these functions to draw on Gnome. I'll put the solution here if I find something working.
By the way Laurent, SFML is a very nice library, useful, and well designed. I always try to adopt a design as clean as yours in SFML. o)
I'm using Ubuntu and I found that Gnome explorer, Nautilus, creates its own windows above the X root window.
It seems that some guys have created some C functions to retrieves Gnome or KDE dektop Window, to draw on it. See this http://stackoverflow.com/questions/2288456/using-desktop-as-canvas-on-linux for more information.
I'm currently trying to use these functions to draw on Gnome. I'll put the solution here if I find something working.
By the way Laurent, SFML is a very nice library, useful, and well designed. I always try to adopt a design as clean as yours in SFML. o)