I'm playing with an existing X application program, modifying things to suit my requirements.
Most things I seem to have fathomed out OK but I want the ability to change some window properties (it has only one window) 'on the fly'.
Initially I just want to toggle one property when the right button (button 3) is clicked. I can catch the button event OK, that's not a problem. I then call XChangeProperty() to change the property.
But what do I need to do to get the window redisplayed having called XChangeProperty() ?