1. 13 May, 2014 1 commit
    • Matthias Clasen's avatar
      Drop most uses of GtkMisc in tests · 7840bad5
      Matthias Clasen authored
      Replace them by GtkWidget h/valign. The only remaining uses
      are those where a size group is involved; they can't be replaced
      until GtkLabel stops looking at GtkMisc alignment for size
  2. 14 Feb, 2013 1 commit
    • Owen W. Taylor's avatar
      Compress motion synchronized with the paint cycle · a69285da
      Owen W. Taylor authored
      When we have pending motion events, instead of delivering them
      directly, request the new FLUSH_EVENTS phase of the frame clock.
      This allows us to compress repeated motion events sent to the
      same window.
      In the FLUSH_EVENTS phase, which occur at priority GDK_PRIORITY_EVENTS + 1,
      we deliver any pending motion events then turn off event delivery
      until the end of the next frame. Turning off event delivery means
      that we'll reliably paint the compressed motion events even if more
      have arrived.
      Add a motion-compression test case which demonstrates behavior when
      an application takes too long handle motion events. It is unusable
      without this patch but behaves fine with the patch.