1. 20 May, 2022 1 commit
  2. 19 May, 2022 4 commits
  3. 05 May, 2022 4 commits
  4. 02 May, 2022 1 commit
  5. 01 Mar, 2022 1 commit
  6. 28 Feb, 2022 1 commit
  7. 27 Feb, 2022 1 commit
  8. 25 Feb, 2022 1 commit
  9. 18 Feb, 2022 1 commit
  10. 14 Feb, 2022 1 commit
  11. 08 Feb, 2022 1 commit
    • Isopod's avatar
      gdkkeys-win32: Also ignore Ctrl + Shift (etc.) · a40f9261
      Isopod authored
      Some Windows keymaps have bogus mappings for the Ctrl modifier. !4423 attempted
      to fix this by ignoring the Ctrl layer, but that was not enough. We also need to
      ignore combinations of Ctrl with other modifiers, i.e. Ctrl + Shift. For example,
      Ctrl + Shift + 6 is mapped to the character 0x1E on a US keyboard (but it should
      be treated as Ctrl + ^). Basically, always ignore Ctrl unless it is used in
      conjunction with Alt, i.e. as part of AltGr.
      Related issue: #4667
  12. 01 Feb, 2022 1 commit
  13. 30 Jan, 2022 1 commit
  14. 29 Jan, 2022 1 commit
  15. 19 Jan, 2022 1 commit
  16. 17 Jan, 2022 1 commit
  17. 14 Jan, 2022 1 commit
  18. 10 Jan, 2022 1 commit
    • David Hogan's avatar
      gdkkeys-win32: Perform keyboard layout substitution · cc47262c
      David Hogan authored and Isopod's avatar Isopod committed
      For some users, GetKeyboardLayoutNameA() returns an alias instead of the
      fully resolved keyboard layout identifier. In that case, we have to
      query the registry to resolve the alias before we can look up the DLL
      See comments under #4610
  19. 09 Jan, 2022 4 commits
    • Isopod's avatar
      gdkkeys-win32: Fix handling of SGCAPS · 4e9ddaf0
      Isopod authored
      Contrary to what you can read on the internet, SGCAPS keys don't work
      by having capslock toggle the KBDCTRL bit, they actually have two
      consecutive table entries, the first of which is for the normal
      version and the second of which is for the capslocked version.
      Background: SGCAPS is short for Swiss German caps because Swiss German
      was the first layout to use this feature. For keys with the SGCAPS flag,
      capslock has a different effect than pressing shift. For example:
      Shift + ü = è,  CapsLock + ü = Ü,  CapsLock + Shift + ü = È
    • Isopod's avatar
      gdkkeys-win32: Fix crash when keyboard DLL failed to load · 8b1c334c
      Isopod authored
      DLL loading failures should not happen under normal circumstances, but
      we should at least try not to crash and and print better diagnostic
      messages if they do happen.
      See #4610
    • Isopod's avatar
      gdkkeys-win32: Add keysym mapping for capslock key · 404229ad
      Isopod authored
      Add missing mapping between VK_CAPITAL and GDK_KEY_Caps_Lock, so
      applications get a meaningful keyval rather than ffffff.
    • Isopod's avatar
      gdkkeys-win32: Fix capslock handling · acf5db32
      Isopod authored
      Previously, we treated CapsLock and KanaLock as part of the global
      keyboard state, much like NumLock and ScrollLock, rather than using
      the supplied modifier mask. This was because GDK does not have a
      modifier mask for KanaLock, only for CapsLock, so it would not have been
      possible to properly support it.
      However, this approach ended up causing problems, with certain keyboard
      shortcuts not registering when capslock was active. This was first
      observed in Inkscape [0] and appears to affect shortcuts consisting of a
      single key (like 'a') with no additional modifiers (wheareas shortcuts
      like 'ctrl+a' work).
      So now we are using the supplied GDK_LOCK_MASK instead, and dropped
      support for KanaLock, which we probably don't need anyway (since regular
      text input should be handled by the IME input module -- the keymap is
      mainly for shortcuts and keybindings, where you don't really want
      [0] https://gitlab.com/inkscape/inkscape/-/issues/3082
  20. 07 Jan, 2022 2 commits
    • Isopod's avatar
      gdkkeys-win32: Fix uninitialized value · f81da43b
      Isopod authored
      gdk_win32_keymap_get_entries_for_keycode() did not initialize n_entries,
      which led to a wrong number of items being returned in some cases.
      /fixes #4610
    • Jonas Ådahl's avatar
      wayland/window: Only update the scale if on any outputs · b86e6bc3
      Jonas Ådahl authored
      If we ended up on no output at all, keep the HiDPI scale as is, as it
      likely means we were on a workspace that was switched away from. By
      keeping the same scale, we avoid unnecessary scale changes that would
      otherwise take place if the scale when on monitors would end up being
      more than 1.
  21. 04 Jan, 2022 3 commits
    • Chun-wei Fan's avatar
      GDK/build: Rename deprecated_h_sources to gdk_deprecated_h_sources · 67f27409
      Chun-wei Fan authored
      This will enable us to not confuse with the deprecated headers in
      gtk/deprecated as those headers are also listed under deprecated_h_sources in
      gtk/deprecated/Makefile.inc, when we include the makefile snippets in both
      gdk/ and gtk/.
    • Chun-wei Fan's avatar
      Visual Studio projects: Improve generating GDK sources · 334333f7
      Chun-wei Fan authored
      This makes the rest of the sources that are generated being put in GDK's build
      directory for the Visual Studio projects, instead of being placed in GDK's
      source subdir, so that:
      *  We can avoid polluting GDK's source tree.
      *  The Visual Studio builds won't interfere with the Meson builds.
      Update the project files to look for the generated sources and headers in the
      right places, as well as making the introspection builds look for the generated
      sources as well.
      Also remove the gtk3-gen-srcs property sheets and put the relevant parts in the
      corresponding gtk3-build-defines property sheets, to clean things up a bit.
    • Chun-wei Fan's avatar
      gdk: Split out public headers listing · caa1c0e4
      Chun-wei Fan authored
      This is so that we can share the list with other Makefile-based build systems
      to generate the enumeration sources.
  22. 03 Jan, 2022 1 commit
  23. 29 Dec, 2021 1 commit
  24. 27 Dec, 2021 2 commits
  25. 21 Dec, 2021 2 commits
    • Florian Müllner's avatar
      gdk/wayland: Support new `high-contrast` key · da8f634b
      Florian Müllner authored
      We now have a boolean setting that determines whether the high-contrast
      theme should be used. Support it by automatically setting the existing
      `gtk-theme-name` and `gtk-icon-theme-name` properties when enabled.
      With that, it is no longer necessary to change the regular theme settings
      for high-contrast, so toggling between high-contrast and a non-default
      theme finally works reliably.
    • Chun-wei Fan's avatar
      gdk/win32/Makefile.am: Dist gdkkeys-win32.h · 1a73728e
      Chun-wei Fan authored
      This was missing from the tarball.
  26. 18 Dec, 2021 1 commit