Re: [AD] X libs and GUI event processing

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Then go ahead, that change easy enough to remove if it is found to
> have unexpected consequences.

Done.

Here's the difference between 3.9.33 WIP and 3.9.41 WIP due to David's,
Vincent's (Yes, I know... and I just saw an episode last night on the third
French TV channel :-) and my contributions:

       }
       else
-  dialog_message(player->dialog, MSG_IDLE, 0, &nowhere);
+  player->res |= dialog_message(player->dialog, MSG_IDLE, 0, &nowhere);

-      goto getout;
+      /* goto getout; */  /* to avoid an updating delay */
    }

    /* deal with mouse wheel clicks */
@@ -915,10 +935,11 @@
   MESSAGE(player->mouse_obj, MSG_WHEEL, z-player->mouse_oz);
       }
       else
-  dialog_message(player->dialog, MSG_IDLE, 0, &nowhere);
+  player->res |= dialog_message(player->dialog, MSG_IDLE, 0, &nowhere);

       player->mouse_oz = z;
-      goto getout;
+
+      /* goto getout; */  /* to avoid an updating delay */
    }

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/