1. 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)
  2. 15 Apr, 2019 1 commit
  3. 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
      Related to #1401.
    • 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.
  4. 14 Feb, 2019 1 commit
  5. 31 Jan, 2019 1 commit
  6. 25 Jan, 2019 1 commit
    • Camilla Löwy's avatar
      Cleanup · d5ab3e91
      Camilla Löwy authored
      Replace client area with content area.
  7. 22 Jan, 2019 1 commit
  8. 02 Jan, 2019 2 commits
  9. 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)
  10. 01 Nov, 2018 1 commit
  11. 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.
  12. 30 Aug, 2018 2 commits
  13. 17 May, 2018 1 commit
  14. 25 Apr, 2018 1 commit
  15. 07 Feb, 2018 2 commits
  16. 17 Jan, 2018 1 commit
  17. 09 Jan, 2018 1 commit
  18. 19 Dec, 2017 1 commit
  19. 06 Dec, 2017 1 commit
    • Camilla Löwy's avatar
      Add lock key modifier bits input mode · 0e8c4ea7
      Camilla Löwy authored
      This adds the GLFW_MOD_CAPS_LOCK and GLFW_MOD_NUM_LOCK modifier bits.
      Set the GLFW_LOCK_KEY_MODS input mode to enable these for all callbacks
      that receive modifier bits.
      Fixes #946.
  20. 15 Nov, 2017 1 commit
  21. 10 Nov, 2017 1 commit
  22. 26 Oct, 2017 2 commits
    • Camilla Löwy's avatar
      Cleanup · bf09dba9
      Camilla Löwy authored
    • Camilla Löwy's avatar
      Add content scale queries · 16bf8721
      Camilla Löwy authored
      This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
      querying the recommended drawing scale factor for DPI-aware rendering.
      Parts of this patch are based on code by @ferreiradaselva.
      Fixes #235.
      Fixes #439.
      Fixes #677.
      Fixes #845.
      Fixes #898.
  23. 27 Sep, 2017 2 commits
    • Camilla Löwy's avatar
      Add GLFW_TRANSPARENT attribute and documentation · 32e78aeb
      Camilla Löwy authored
      This completes support for window framebuffer transparency on Windows,
      macOS and X11.  Note that the hint/attribute may be renamed before
      release to clarify its relationship to GLFW_OPACITY.
      Fixes #197.
      Closes #1079.
      Related to #663.
      Related to #715.
      Related to #723.
      Related to #1078.
    • Wolfgang Draxinger's avatar
      Add GLFW_TRANSPARENT and X11 implementation · 019609b6
      Wolfgang Draxinger authored
      This is a squashed extract of several commits, minimally edited to
      ensure it compiles.
      Related to #197.
      Related to #715.
  24. 17 Sep, 2017 5 commits
  25. 16 Aug, 2017 1 commit
  26. 13 Aug, 2017 2 commits
    • Camilla Löwy's avatar
      Cleanup · b7a0f225
      Camilla Löwy authored
      Don't advertise native functions in public API guides.  Don't list
      primary selection access as most notable new feature.  Don't have
      different levels of abstraction among selection helper functions.  Don't
      forget to take credit.
      Related to #1056.
    • Kristian Nielsen's avatar
      X11: Add native access to primary selection · 29a75ab0
      Kristian Nielsen authored
      This adds the native access functions glfwSetX11SelectionString and
      glfwGetX11SelectionString under GLFW_EXPOSE_NATIVE_X11.  They are
      similar to glfwSetClipboardString and glfwGetClipboardString but operate
      on the PRIMARY selection.
      The primary selection is widely used in X11, and so seems important to
      support.  Primary selection is mostly an X11-specific thing, hence it's
      exposed as an X11 native interface.
      Fixes #894.
      Closes #1056.
      Signed-off-by: default avatarKristian Nielsen <knielsen@knielsen-hq.org>
  27. 25 Jul, 2017 1 commit
    • Camilla Löwy's avatar
      Add glfwInitHintString · 213dd2d0
      Camilla Löwy authored
      Adds string type init hints.  Adds X11 specific init hints for WM_CLASS
      components.  Documentation work.
      Fixes #893.
  28. 13 Jul, 2017 1 commit
    • Camilla Löwy's avatar
      Cleanup · 82284b86
      Camilla Löwy authored
      Thanks to glfwGetKeyScancode we can now pass only a scancode to the
      platform layer for glfwGetKeyName.
  29. 17 May, 2017 1 commit