summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget_private.h
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2017-11-09 00:38:51 +0000
committerAl Poole <netstar@gmail.com>2017-11-09 00:55:36 +0000
commite63e2d7e21df13520cca1b05437e556b3fd6624f (patch)
tree9d027e29ae59ba34ba50a292210db9cb88744e9a /src/lib/elementary/elm_code_widget_private.h
parentc2fe37a46dfacdf7f03477ecfe55722f93d93719 (diff)
elm_code_widget: keep track of visibility.
Keep track of visibility and ensure the cursor can never be filled when hidden. This should finally end any issue with the cursor and visibility with the new focus system. Didn't see this previously until working on Edi's bottom panes which caused redraw on resize of the widgets. @fix
Diffstat (limited to 'src/lib/elementary/elm_code_widget_private.h')
-rw-r--r--src/lib/elementary/elm_code_widget_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_code_widget_private.h b/src/lib/elementary/elm_code_widget_private.h
index d9e071c246..4e050a799b 100644
--- a/src/lib/elementary/elm_code_widget_private.h
+++ b/src/lib/elementary/elm_code_widget_private.h
@@ -24,7 +24,7 @@ typedef struct
24 unsigned int cursor_line, cursor_col; 24 unsigned int cursor_line, cursor_col;
25 Evas_Object *cursor_rect; 25 Evas_Object *cursor_rect;
26 26
27 Eina_Bool editable, focussed; 27 Eina_Bool visible, editable, focussed;
28 Eina_Bool show_line_numbers; 28 Eina_Bool show_line_numbers;
29 unsigned int line_width_marker, tabstop; 29 unsigned int line_width_marker, tabstop;
30 Eina_Bool show_whitespace, tab_inserts_spaces; 30 Eina_Bool show_whitespace, tab_inserts_spaces;