1. 14 Jan, 2020 1 commit
    • Camilla Löwy's avatar
      X11: Fix parent window handle initialization · fbe8ae99
      Camilla Löwy authored
      This should have been initialized to the screen root, not None.  This
      issue was introduced by fe57e3c2921a1901390534e1e51053df70b5644b.
      Fixes #1620.
      (cherry picked from commit 9372ba95faabd1bb45280d201d6ccdae77bf872e)
  2. 12 Jan, 2020 1 commit
    • Camilla Löwy's avatar
      X11: Fix BadMatch focusing a window on non-EWMH WM · 487e0419
      Camilla Löwy authored
      When the WM does not support EWMH or there is no WM running, GLFW falls
      back to XSetInputFocus, which will emit BadMatch if the window is not
      viewable, which will terminate the program.
      Bug spotted on IRC.
      (cherry picked from commit aa5e31356178de43d42f43f48914a62c25033f4b)
  3. 05 Jan, 2020 1 commit
  4. 01 Jan, 2020 2 commits
    • Camilla Löwy's avatar
      X11: Fix no window position events during resize · ecda86fa
      Camilla Löwy authored
      A window resize action that also resulting in the window being moved did
      not emit any window positions events, as the position of real
      ConfigureNotify events was ignored.  The real events use parent
      coordinates instead of root coordinates so this adds parent tracking and
      conditional translation.
      Fixes #1613.
      (cherry picked from commit fe57e3c2921a1901390534e1e51053df70b5644b)
    • Camilla Löwy's avatar
      Update changelog and add credit · 359f0e10
      Camilla Löwy authored
      (cherry picked from commit bf292f0083df14e0c8e0bf10c599681d460c9179)
  5. 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)
    • 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)
    • 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)
    • 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)
    • 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)
    • 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
      (cherry picked from commit c3ca88055f7c2c8b02b38cb90fc1989990552977)
    • Camilla Löwy's avatar
      NSGL: Remove problematic swap interval workaround · ccb54c3e
      Camilla Löwy authored
      Fixes #1483.
      (cherry picked from commit 54e8e0b0928400a9da7ebb9d27ad686ee756686e)
    • 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)
  6. 19 Dec, 2019 27 commits