I am creating an X11 window for a game, but it seems to only do the expose event once in a while (like maximizing and resizing), is there any way to have X11 call expose constantly? Kind of how glut has glutPostRedisplay()
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The expose event just tells you that a part of the window which was previously obscured is now visible, so you might need to redraw. There is no restriction that you redraw only at expose events.