#87 ui_screenblt bug fix ?

closed
nobody
None
5
2005-10-29
2004-04-22
Anonymous
No

Index: xwin.c

--- xwin.c (revision 2)
+++ xwin.c (working copy)
@@ -1761,9 +1761,13 @@
/* src */ int srcx, int srcy)
{
SET_FUNCTION(opcode);
- XCopyArea(g_display, g_wnd, g_wnd, g_gc, srcx,
srcy, cx, cy, x, y);
- if (g_ownbackstore)
+ if (g_ownbackstore){
+ XCopyArea(g_display, g_backstore,
g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
XCopyArea(g_display, g_backstore,
g_backstore, g_gc, srcx, srcy, cx, cy, x, y);
+ } else {
+ XCopyArea(g_display, g_wnd, g_wnd,
g_gc, srcx, srcy, cx, cy, x, y);
+ }
+
RESET_FUNCTION(opcode);
}

Discussion

    • status: open --> closed
     
  • Logged In: YES
    user_id=335423

    Duplicate of 939756.