1. 01 Mar, 2012 2 commits
    • Carlos Garnacho's avatar
      gdk: handle implicit touch grabs · c72a77b0
      Carlos Garnacho authored
      If the touch sequence happens on a window with GDK_TOUCH_MASK set,
      a GdkTouchGrabInfo is created to back it up. Else a device grab is
      only created if the sequence emulates the pointer.
      
      If both a device and a touch grab are present on a window, the later
      of them both is obeyed, Any grab on the device happening after a
      touch grab generates grab-broken on all the windows an implicit
      touch grab was going on.
      c72a77b0
    • Carlos Garcia Campos's avatar
      gtk: Add a way to do event capture · 9f4bfff1
      Carlos Garcia Campos authored
      This patch adds a capture phase to GTK+'s event propagation
      model. Events are first propagated from the toplevel (or the
      grab widget, if a grab is in place) down to the target widget
       and then back up. The second phase is using the existing
      ::event signal, the new capture phase is using a private
      API instead of a public signal for now.
      
      This mechanism can be used in many places where we currently
      have to prevent child widgets from getting events by putting
      an input-only window over them. It will also be used to implement
      kinetic scrolling in subsequent patches.
      
      http://bugzilla.gnome.org/show_bug.cgi?id=641836
      
      We automatically request more motion events in behalf of
      the original widget if it listens to motion hints. So
      the capturing widget doesn't need to handle such
      implementation details.
      
      We are not making event capture part of the public API for 3.4,
      which is why there is no ::captured-event signal.
      9f4bfff1
  2. 27 Feb, 2012 1 commit
  3. 24 Feb, 2012 1 commit
  4. 01 Feb, 2012 1 commit
  5. 19 Jan, 2012 2 commits
  6. 16 Jan, 2012 1 commit
  7. 06 Jan, 2012 1 commit
    • Benjamin Otte's avatar
      API: Deprecate key snooping · fc37e274
      Benjamin Otte authored
      You really shouldn't be doing this. If you have to, you can use
      gdk_window_add_filter() or listen to raw events on XI2.
      fc37e274
  8. 19 Dec, 2011 1 commit
    • Matthias Clasen's avatar
      Introduce gtkaccelmapprivate.h · 2398d7e9
      Matthias Clasen authored
      Move internal accel map API there and update all users.
      Also, add an internal function to create an accel path for
      an action and parameter, and use it in gtkapplication.c and
      gtkmodelmenuitem.c instead of duplicating that code.
      2398d7e9
  9. 23 Oct, 2011 1 commit
  10. 22 Oct, 2011 1 commit
    • Michael Natterer's avatar
      gtk: clean up the private horror · 2688ccdb
      Michael Natterer authored
      - add gtkmodulesprivate.h and move stuff there from gtkprivate.h
      - add gtkprivate.c and move stuff there from gtkmain.c
      - add gtkwin32.c and move stuff there from gtkmain.c
      - don't redefine GTK_DATADIR and friends in gtkprivate.h
      - have _gtk_get_datadir() and friends on all platforms
      - remove the horrid hacks where gtkprivate.h can't be included,
        or must be included later due to redefinition of the compile-time
        directories
      2688ccdb
  11. 07 Oct, 2011 1 commit
    • Michael Natterer's avatar
      gtk: remove the private GTK_DEFAULT_ACCEL_MOD_MASK define · 5327034c
      Michael Natterer authored
      and finish the port to using the new modifier abstraction API.
      This commit has some evilness, it uses the default display for
      the lack of a widget context, and the change to gtkstock.c
      is very ugly, but I can't think of anything better given
      GtkStockItem needs an accel mask instead of a proper accel
      string.
      5327034c
  12. 06 Oct, 2011 1 commit
  13. 27 Sep, 2011 1 commit
  14. 26 Sep, 2011 1 commit
  15. 10 Aug, 2011 1 commit
    • Matthias Clasen's avatar
      Make focus rectangles optional · 2ba9c4b4
      Matthias Clasen authored
      This commit introduces a new setting, gtk-visible-focus, backed
      by the Gtk/VisibleFocus X setting. Its three values control how
      focus rectangles are displayed.
      
      'always' is equivalent to the traditional GTK+ behaviour of always
      rendering focus rectangles.
      
      'never' does what it says, and is intended for keyboardless
      situations, e.g. tablets.
      
      'automatic' hides focus rectangles initially, until the user
      interacts with the keyboard, at which point focus rectangles
      become visible.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=649567
      2ba9c4b4
  16. 09 Jul, 2011 1 commit
  17. 05 Jul, 2011 2 commits
  18. 17 Jun, 2011 1 commit
  19. 06 May, 2011 1 commit
  20. 05 Mar, 2011 1 commit
    • Murray Cumming's avatar
      gtk_init*(): Document that argc/argv can be 0,NULL. · 5b347db1
      Murray Cumming authored
      * gtk/gtkmain.c: (gtk_init): Mention that argc and argv can be 0,
        using the new text from the g_applicatoin_run() documentation.
        There was already introspection annotation about that.
        (gtk_init_check, gtk_init_with_args): Use the same text here.
        See bug #643649 comment 2.
      5b347db1
  21. 08 Feb, 2011 1 commit
  22. 03 Feb, 2011 1 commit
  23. 20 Jan, 2011 4 commits
  24. 15 Jan, 2011 1 commit
  25. 11 Jan, 2011 1 commit
  26. 06 Jan, 2011 2 commits
  27. 04 Jan, 2011 3 commits
  28. 24 Dec, 2010 1 commit
  29. 21 Dec, 2010 2 commits
    • Matthias Clasen's avatar
      Drop g[dt]k_set_locale · fdabc958
      Matthias Clasen authored
      These functions were essentially just calling setlocale anyway.
      The X11 version was also setting a gdk_use_mb variable that
      is not used anywhere.
      fdabc958
    • Matthias Clasen's avatar
      Merge libgdk and libgtk · 07d49ee5
      Matthias Clasen authored
      This commit does a number of things:
      - remove some dead wchar configury from configure.ac and gdkconfig.h
      - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo
        macros for each included backend, include it in gdk.h and install
        it in $includedir instead of below $libdir
      - drop the backend from the library names
      - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la
      It does not yet enable building multiple backends at the same time.
      07d49ee5
  30. 18 Dec, 2010 1 commit
    • Matthias Clasen's avatar
      Hide GtkWindowGroup members · 7b665316
      Matthias Clasen authored
      In the process of removing all sealed members from headers.
      At the same time, add a gtkwindowprivate.h header and move
      all internal functions from gtkwindow.h there.
      7b665316