1. 31 Dec, 2019 8 commits
    • Camilla Löwy's avatar
      Set macOS deployment target in Travis CI build · 82187397
      Camilla Löwy authored
      (cherry picked from commit 5dd207048cc957bcf680e6c7f80eff8faf92ccb7)
      82187397
    • Camilla Löwy's avatar
      X11: Fix IC event mask not being added to our window · e8d4cc32
      Camilla Löwy authored
      (cherry picked from commit a3d28ef52cec2fb69941bbce8a7ed7a2a22a8c41)
      e8d4cc32
    • Camilla Löwy's avatar
      X11: Cleanup · 7f775302
      Camilla Löwy authored
      We can use C99 now and also we will need the event mask below.
      
      (cherry picked from commit 8149a5fc00e63ff1e94228f338f1a27de374c68b)
      7f775302
    • Luflosi's avatar
      Use the correct type in a for loop · cb49e182
      Luflosi authored
      The `sizeof()` operator has the type `size_t`, so the `for` loop
      iterating over it should use the same type.
      
      Closes #1614.
      
      (cherry picked from commit 74a46dfa0cca79e871b24dbbb9e595b4fe65e0f6)
      cb49e182
    • Camilla Löwy's avatar
      Cocoa: Replace display link with IOKit query · 9fc5fd13
      Camilla Löwy authored
      This removes the final dependency on CoreVideo, using a display link to
      get the refresh rate of monitors where Core Graphics report a refresh
      rate of zero.  Instead we now query the I/O registry directly, similarly
      to what the display link does at creation.
      
      Thanks to @OneSadCookie for pointers to this solution.
      
      (cherry picked from commit 4ec7daf3e92440efab8dac7c1f4c60707d990ed0)
      9fc5fd13
    • Camilla Löwy's avatar
      NSGL: Simulate vsync for occluded windows · bb8ed627
      Camilla Löwy authored
      This only supports a swap interval of zero or one, as that is all NSGL
      supports.
      
      (cherry picked from commit c3ca88055f7c2c8b02b38cb90fc1989990552977)
      bb8ed627
    • Camilla Löwy's avatar
      NSGL: Remove problematic swap interval workaround · ccb54c3e
      Camilla Löwy authored
      Fixes #1483.
      
      (cherry picked from commit 54e8e0b0928400a9da7ebb9d27ad686ee756686e)
      ccb54c3e
    • Camilla Löwy's avatar
      Cocoa: Only create per-monitor display link once · 7c9d0081
      Camilla Löwy authored
      The display link query is not specific to any particular display mode
      and so only needs to be done once.
      
      The next step is to replace the display link altogether by querying
      IOKit directly, which is what the display link does.
      
      (cherry picked from commit b4a8eb9b197caebcec1304cd3d55cd56e3869376)
      7c9d0081
  2. 19 Dec, 2019 32 commits