diff src/video/x11/SDL_x11events.c @ 2328:91e601d9df8b

re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being fixed is caused by clearing SDL_COPY_RLE_COLORKEY without setting SDL_COPY_RLE_DESIRED in SDL_UnRELSurface.
author Bob Pendleton <bob@pendleton.com>
date Fri, 14 Mar 2008 18:17:49 +0000
parents 7b53a8401195
children 44e49d3fa6cf 64f346a83ed3
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Fri Mar 07 23:57:15 2008 +0000
+++ b/src/video/x11/SDL_x11events.c	Fri Mar 14 18:17:49 2008 +0000
@@ -44,8 +44,8 @@
        handler */
     if (XFilterEvent(&xevent, None) == True) {
 #if 0
-      printf("Filtered event type = %d display = %d window = %d\n", 
-             xevent.type, xevent.xany.display, xevent.xany.window);
+        printf("Filtered event type = %d display = %d window = %d\n",
+               xevent.type, xevent.xany.display, xevent.xany.window);
 #endif
         return;
     }
@@ -73,10 +73,9 @@
     if (!data) {
         return;
     }
-
 #if 0
-      printf("type = %d display = %d window = %d\n", 
-             xevent.type, xevent.xany.display, xevent.xany.window);
+    printf("type = %d display = %d window = %d\n",
+           xevent.type, xevent.xany.display, xevent.xany.window);
 #endif
     switch (xevent.type) {