diff options
author | Kristian Rietveld <kris@gtk.org> | 2010-12-15 23:45:04 +0100 |
---|---|---|
committer | Kristian Rietveld <kris@gtk.org> | 2010-12-15 23:55:26 +0100 |
commit | c8d130efa7a0d807bdaa50381d12c3f4223e8e2c (patch) | |
tree | d8b35e720deef589d6ce7ef7cb4b6558bf639c57 /gtk/gtktreeprivate.h | |
parent | 5399f7b6e6a483caa4567537cf7d7c24fd92b2b2 (diff) | |
download | gtk+-c8d130efa7a0d807bdaa50381d12c3f4223e8e2c.tar.gz |
Revisit "Handle clicks in indentation area"
Check (x, y) is inside background area. If yes, continue processing
and clamp the coordinates into cell area. This way we will properly
handle getting a cell (which is only used for setting the focus cell)
for clicks in the indentation area (in LTR and RTL mode) and clicks
in the focus rectangle area in case focus-line-width is large.
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r-- | gtk/gtktreeprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h index 9fe2074a00..9ee61f1ef9 100644 --- a/gtk/gtktreeprivate.h +++ b/gtk/gtktreeprivate.h @@ -123,6 +123,7 @@ gboolean _gtk_tree_view_column_has_editable_cell(GtkTreeViewColumn *co GtkCellRenderer *_gtk_tree_view_column_get_edited_cell (GtkTreeViewColumn *column); GtkCellRenderer *_gtk_tree_view_column_get_cell_at_pos (GtkTreeViewColumn *column, GdkRectangle *cell_area, + GdkRectangle *background_area, gint x, gint y); |