Follow-up Comment #32, bug #17717 (project gnustep):

I dump these information in -orderwindow:: (XGServerWindow.m):

  NSLog(@"orderWindow:otherwin:");
  NSLog(@"xframe %@", NSStringFromRect(window->xframe));
  NSLog(@"buffer %dx%d", window->buffer_width, window->buffer_height);
  NSLog(@"XSizeHints (%dx%d)", window->siz_hints.width,
window->siz_hints.height);

And I realize that window->xframe does change for no reason.
When window->xframe is bigger than
window->buffer_width*window->buffer_height, 
the problem occurs.

And luckly in metacity, window->xframe is actually 2 pixels 
less than window->buffer_widht*window->buffer_height during the exposure.
Therefore, this problem never happens to metacity.

So the solution would be to resize the buffer for every exposure
if the buffer is retained.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17717>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to