Results 1 to 4 of 4
I've written an application drawing a black square into the window. If the window needs to be redrawn, there is a method to redraw the square( e.g. there is a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-10-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 4
Xlib: Window loses contents after hiding
I've written an application drawing a black square into the window. If the window needs to be redrawn, there is a method to redraw the square( e.g. there is a window above etc,).But the problem: After hidding/minimizing the window there is no square anymore?(Gnome:Metacity) Why? And how to solve this?
Thanks for answers
- 10-10-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
What toolkit and/or API's are you using to write your application?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-11-2010 #3Just Joined!
- Join Date
- Oct 2010
- Posts
- 4
I don't have any toolkit, I'm writing my application with gedit, compiling with GCC in the terminal.
My OS is Ubuntu 9.10 ->Gnome->Metacity
- 10-11-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
So, you are using Xlib API calls directly? Or X Toolkit? In any case, please post your code here.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
