1. 15 Jul, 2020 1 commit
  2. 17 Jan, 2020 1 commit
  3. 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)
      fbe8ae99
  4. 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)
      487e0419
  5. 01 Jan, 2020 1 commit
    • 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)
      ecda86fa
  6. 31 Dec, 2019 2 commits
  7. 19 Dec, 2019 6 commits
  8. 05 Nov, 2019 1 commit
    • Camilla Löwy's avatar
      X11: Fix decoration enabling after window creation · 1bf892f6
      Camilla Löwy authored
      This fixes the enabling of window decorations after creation.  Instead
      of removing the _MOTIF_WM_HINTS property, we now set or unset the
      MWM_DECOR_ALL bit of the decorations field.
      
      Fixes #1566.
      
      (cherry picked from commit 5fc4c01302b0729fd9f39e8c504e28cf7347153c)
      1bf892f6
  9. 23 Sep, 2019 1 commit
    • Camilla Löwy's avatar
      Unify key name string handling · 79f4ec68
      Camilla Löwy authored
      This makes key names per-key static strings for all supported platforms.
      
      Fixes #1200.
      
      (cherry picked from commit 56ca0cb3b30ecb1310752360e9c875fc1b2bab5e)
      79f4ec68
  10. 16 Jul, 2019 5 commits
    • Camilla Löwy's avatar
      Cleanup · ff2c0009
      Camilla Löwy authored
      Related to #1528.
      
      (cherry picked from commit d232bcfcdde2435110fcce9d6027db726e57646f)
      ff2c0009
    • Denis Bernard's avatar
      X11: Query and keep track of Xkb group index · b3eb6dd3
      Denis Bernard authored
      For users with multiple keyboard layouts configured, glfwGetKeyName
      works fine only with the primary layout.  Switching layouts results in
      changing the group index.  This commit querries the current group index
      when initializing keyboard input and keeps track of any change to it.
      
      As a result the scancode -> keyname mapping may change while the program
      is running (needs to be documented).
      
      Fixes #1462.
      Closes #1528.
      
      (cherry picked from commit 36f90800d8d490b27d4dc2109c07a95a12007327)
      b3eb6dd3
    • Camilla Löwy's avatar
      X11: Fix focus events not being filtered · 84fa7244
      Camilla Löwy authored
      The filter condition had ended up below the action.
      
      (cherry picked from commit c6b95e3b07b9c20d9adae2ddebf69706540180de)
      84fa7244
    • Camilla Löwy's avatar
      X11: Let the language initialize XEvent structs · 1e126533
      Camilla Löwy authored
      (cherry picked from commit 1f508530f0cda2db78404a82fba1b956372e67aa)
      1e126533
    • Camilla Löwy's avatar
      Convert some declarations to C99 style · 66e06b06
      Camilla Löwy authored
      (cherry picked from commit 0c6b5056196a409e6aac244c983244211abf13b1)
      66e06b06
  11. 27 May, 2019 1 commit
    • Camilla Löwy's avatar
      Add C dialect reminders to each source file · 04522580
      Camilla Löwy authored
      Files built for Win32 must use C89 style declarations for compatibility
      with VS 2010 and 2012, which are still supported by GLFW.
      
      (cherry picked from commit 56aad76b164be741af21688ea3832093c2069cef)
      04522580
  12. 15 Apr, 2019 1 commit
  13. 22 Feb, 2019 2 commits
    • Camilla Löwy's avatar
      Rename raw input to raw mouse motion, cleanup · 1155c830
      Camilla Löwy authored
      This renames 'raw input' to 'raw mouse motion' as there are other kinds
      of raw input.  The update path is restructured to avoid reinitializing
      all of disabled cursor mode.  Modification of shared state is moved out
      into shared code.  Raw mouse motion is disabled by default for
      compatibility.
      
      Related to #1401.
      1155c830
    • Nathan Poirier's avatar
      Add GLFW_RAW_INPUT and glfwRawInputSupported · 9e29f556
      Nathan Poirier authored
      This adds runtime per-window control of whether accelerated or raw mouse
      motion is provided when the cursor is disabled.
      
      Fixes #1400.
      Closes #1401.
      9e29f556
  14. 14 Feb, 2019 1 commit
  15. 31 Jan, 2019 1 commit
  16. 25 Jan, 2019 1 commit
    • Camilla Löwy's avatar
      Cleanup · d5ab3e91
      Camilla Löwy authored
      Replace client area with content area.
      d5ab3e91
  17. 22 Jan, 2019 1 commit
  18. 02 Jan, 2019 2 commits
  19. 03 Nov, 2018 1 commit
    • Dominique Martinet's avatar
      x11 window: update cursor position on enter event · 62993d93
      Dominique Martinet authored
      click events would have an incorrect position after changing workspace,
      if the mouse didn't move in between.
      (Another example where this matters is a new window, if it appears under
      the cursor, clicking would lead the application to think the user clicked
      at 0,0)
      62993d93
  20. 01 Nov, 2018 1 commit
  21. 03 Sep, 2018 1 commit
    • Camilla Löwy's avatar
      Add GLFW_SCALE_TO_MONITOR · 089ea9af
      Camilla Löwy authored
      This adds the GLFW_SCALE_TO_MONITOR window hint for automatically
      resizing the content area of a window to the requested size times the
      monitor content scale each time it is placed on a new monitor.  This
      only applies to windowed mode windows and includes the initial placement
      at window creation.
      
      This hint only has an effect on platforms where screen coordinates and
      pixels always map 1:1 such as Windows and X11.  Platforms like macOS
      instead change the resolution of the framebuffer independently of the
      window size.
      
      Related to #676.
      Related to #1115.
      089ea9af
  22. 30 Aug, 2018 2 commits
  23. 17 May, 2018 1 commit
  24. 25 Apr, 2018 1 commit
  25. 07 Feb, 2018 2 commits
  26. 17 Jan, 2018 1 commit