summaryrefslogtreecommitdiffstats
path: root/include/widgets/widget-internal.h
diff options
context:
space:
mode:
authorTonCherAmi <kratos661@gmail.com>2021-05-23 01:17:27 +0300
committerGitHub <noreply@github.com>2021-05-23 00:17:27 +0200
commitdc28a974373b5d462a734e35b8b47afce0782c77 (patch)
tree432760a640e58924da590016b4c99881a32d993d /include/widgets/widget-internal.h
parent04c006a4a23dd71a3c4af8df63329ab436411740 (diff)
Add cursor property (#1313)
* Change mouse cursor on widget hover Currently only listview element and editbox are supported. * Add cursor property
Diffstat (limited to 'include/widgets/widget-internal.h')
-rw-r--r--include/widgets/widget-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h
index ed028f3c..3106d063 100644
--- a/include/widgets/widget-internal.h
+++ b/include/widgets/widget-internal.h
@@ -54,6 +54,9 @@ struct _widget
RofiPadding border;
RofiPadding border_radius;
+ /** Cursor that is set when the widget is hovered */
+ RofiCursorType cursor_type;
+
/** enabled or not */
gboolean enabled;
/** Expand the widget when packed */