[Xfce4-commits] [xfce/exo] 01/01: Cursor position in icon view not visible/highlighted when using ctrl + arrows (Bug #12227)

noreply at xfce.org noreply at xfce.org
Sun Mar 22 00:22:37 CET 2020


This is an automated email from the git hooks/post-receive script.

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/exo.

commit 8b7f6824fc50747d9b152ef0aa91bc28da0260e4
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Sat Feb 22 21:55:14 2020 +0100

    Cursor position in icon view not visible/highlighted when using ctrl +
    arrows (Bug #12227)
---
 exo/exo-icon-view.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index 607c80a..d69fe69 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -4134,6 +4134,14 @@ exo_icon_view_paint_item (ExoIconView     *icon_view,
           gtk_render_frame (style_context, cr,
                             aligned_area.x, aligned_area.y,
                             aligned_area.width, aligned_area.height);
+
+          /* draw outline if focused */
+          if (flags & GTK_CELL_RENDERER_FOCUSED)
+            {
+              gtk_render_focus (style_context, cr,
+                                aligned_area.x, aligned_area.y,
+                                aligned_area.width, aligned_area.height);
+            }
         }
 
       gtk_cell_renderer_render (info->cell,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list