window: Show controls on mouse click
This commit is contained in:
parent
a8693c50ef
commit
24bbd7eae2
3 changed files with 17 additions and 0 deletions
|
|
@ -429,6 +429,7 @@ mod imp {
|
|||
|
||||
if obj.is_hscrollable() || obj.is_vscrollable() {
|
||||
obj.cancel_deceleration();
|
||||
gesture.set_state(gtk::EventSequenceState::Claimed);
|
||||
obj.set_cursor(gdk::Cursor::from_name("grabbing", None).as_ref());
|
||||
obj.imp().last_drag_value.set(Some((0., 0.)));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue