diff options
author | Błażej Szczygieł <[email protected]> | 2016-03-28 21:00:08 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-10-21 10:59:54 +0200 |
commit | 6bbbccfde430a26b4d288a97117c87c622986f69 (patch) | |
tree | 5bd826ab0670aaa922fd603353d3e984cccec310 /sensors-applet/sensors-applet.h | |
parent | b2d548ff701f0caa142dbf964dd2258fc10ea3ff (diff) | |
download | mate-sensors-applet-6bbbccfde430a26b4d288a97117c87c622986f69.tar.bz2 mate-sensors-applet-6bbbccfde430a26b4d288a97117c87c622986f69.tar.xz |
Update tooltip only when mouse is over the applet
This can prevent problems with OpenGL on some drivers. The problem is
described here: https://github.com/mate-desktop/mate-panel/issues/397
This also updates all sensors when mouse enters the applet to get
updated values.
Diffstat (limited to 'sensors-applet/sensors-applet.h')
-rw-r--r-- | sensors-applet/sensors-applet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sensors-applet/sensors-applet.h b/sensors-applet/sensors-applet.h index d2e0e20..d561360 100644 --- a/sensors-applet/sensors-applet.h +++ b/sensors-applet/sensors-applet.h @@ -141,6 +141,8 @@ struct _SensorsApplet { #ifdef HAVE_LIBNOTIFY NotifyNotification *notification; #endif // HAVE_LIBNOTIFY + + gboolean show_tooltip; }; |