1. 16 Oct, 2018 1 commit
    • Dorota Czaplejewicz's avatar
      imwayland: Handle enter and leave events · c477201a
      Dorota Czaplejewicz authored
      Before this patch, imwayland would assume that text-input enter and leave events follow the general (wl_keyboard) focus, and was unable to handle the situation where they would not be provided at the same time.
      c477201a
  2. 28 Sep, 2018 1 commit
  3. 14 Sep, 2018 1 commit
  4. 11 Sep, 2018 2 commits
  5. 07 Sep, 2018 1 commit
  6. 23 Aug, 2018 1 commit
  7. 30 Jul, 2018 1 commit
  8. 28 Jul, 2018 1 commit
    • Christian Hergert's avatar
      imwayland: fix potential leak of attr list · 508e0648
      Christian Hergert authored
      This fixes a potential leak of a PangoAttrList that is set when chaining
      up to the parent get_preedit_string(). We check to see if the attr list
      was created and reuse it instead of leaking the previous value.
      508e0648
  9. 24 Jun, 2018 1 commit
    • Michael Catanzaro's avatar
      imwayland: Fix a small leak · efb934c0
      Michael Catanzaro authored
      If the parent get_preedit_string implementation returns a nonnull
      zero-length string, then we ignore it, which is almost fine. We have to
      free it, though.
      
      Fixes #1174
      efb934c0
  10. 04 Apr, 2018 1 commit
  11. 28 Mar, 2018 1 commit
  12. 20 Mar, 2018 1 commit
    • Carlos Garnacho's avatar
      imwayland: Avoid TOGGLE_INPUT_PANEL requests if there's no focus · 4f78abdd
      Carlos Garnacho authored
      Fixes two things: 1) As GTK+ can be coerced into using the wayland IM
      module despite the compositor not implementing the interface, all paths
      not checking for global state before sending requests are prone to
      crashes, this one fell hit this pitfall.
      
      And 2) ensures the tap gesture only triggers TOGGLE_INPUT_PANEL if the
      widget IM is focused. This is a possibility on eg. WebKit pages, where
      its IM is only focused as long as a form element in the page is focused.
      Tapping elsewhere shouldn't toggle the OSK.
      
      https://gitlab.gnome.org/GNOME/gtk/issues/114
      
      Closes: #114
      4f78abdd
  13. 14 Feb, 2018 1 commit
    • Carlos Garnacho's avatar
      modules: Add wayland IM implementation · e8bffe0c
      Carlos Garnacho authored
      This IM context implementation goes through the gtk-text-input protocol,
      leaving up to the compositor the actual interaction with IM engines. If
      the protocol is not offered by the compositor, GTK+ will fallback to the
      IMs as specified through GtkSettings.
      e8bffe0c