Merge lp:~cimi/overlay-scrollbar/fix-743229 into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Merged at revision: 178
Proposed branch: lp:~cimi/overlay-scrollbar/fix-743229
Merge into: lp:overlay-scrollbar
Diff against target: 11 lines (+2/-0)
1 file modified
os/os-scrollbar.c (+2/-0)
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/fix-743229
Reviewer Review Type Date Requested Status
Loïc Molinari (community) Approve
Review via email: mp+55168@code.launchpad.net

Description of the change

In toplevel_leave_notify_event_cb set priv->can_hide gboolean flag to TRUE. It should be reset to FALSE everytime the pointer enters the thumb_enter_notify_event_cb, so looks enough safe. Please review/test and tell me

To post a comment you must log in.
Revision history for this message
Loïc Molinari (loic.molinari) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'os/os-scrollbar.c'
2--- os/os-scrollbar.c 2011-03-24 16:50:02 +0000
3+++ os/os-scrollbar.c 2011-03-28 15:26:34 +0000
4@@ -1151,6 +1151,8 @@
5 scrollbar = OS_SCROLLBAR (user_data);
6 priv = scrollbar->priv;
7
8+ priv->can_hide = TRUE;
9+
10 g_timeout_add (TIMEOUT_HIDE, os_scrollbar_hide_thumb_cb,
11 g_object_ref (scrollbar));
12

Subscribers

People subscribed via source and target branches