Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

window.c

Blame
    • Kristian Høgsberg's avatar
      9a7ad67d
      window: Delay scheduled redraws if we start maximize or fullscreen protocol · 9a7ad67d
      Kristian Høgsberg authored
      When we set the fullscreen flag, we have to wait for the corresponding
      configure event and then attach a buffer of that size to indicate
      that we've successfully gone fullscreen/maximized.
      
      Without this patch, we can schedule a redraw and go through with it after
      setting maximize/fullscreen and end up attaching a buffer of the wrong size.
      In practice, what happens is that pressing the maximize button triggers
      setting maximized, but also triggers a redraw to paint the maxmize button.
      Without this change, repainting the button triggers a repaint that attaches
      the same size buffer immediately.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=71927
      9a7ad67d
      History
      window: Delay scheduled redraws if we start maximize or fullscreen protocol
      Kristian Høgsberg authored
      When we set the fullscreen flag, we have to wait for the corresponding
      configure event and then attach a buffer of that size to indicate
      that we've successfully gone fullscreen/maximized.
      
      Without this patch, we can schedule a redraw and go through with it after
      setting maximize/fullscreen and end up attaching a buffer of the wrong size.
      In practice, what happens is that pressing the maximize button triggers
      setting maximized, but also triggers a redraw to paint the maxmize button.
      Without this change, repainting the button triggers a repaint that attaches
      the same size buffer immediately.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=71927
    tcp_ipv6.c 50.61 KiB