commit | 8dacaaba1b0cae3f9a0d49867452ee14797ac4bd | [log] [tgz] |
---|---|---|
author | Scott Moreau <oreaus@gmail.com> | Sun Jun 17 18:10:58 2012 -0600 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Jun 18 11:07:03 2012 -0400 |
tree | ecb250809607d48f0b4fd56dd1f400167ffee544 | |
parent | 5b72a4d21da9dd0bc647018ca953e0c09d5539f2 [diff] [blame] |
Animate transitions for zoom focus point change. Handle the transition when focus changes from text cursor to mouse pointer or vice versa.
diff --git a/src/shell.c b/src/shell.c index bc2a987..9186bdb 100644 --- a/src/shell.c +++ b/src/shell.c
@@ -2185,10 +2185,7 @@ output->zoom.spring_z.target = output->zoom.level; - weston_output_update_zoom(output, - seat->pointer->x, - seat->pointer->y, - ZOOM_FOCUS_POINTER); + weston_output_update_zoom(output, output->zoom.type); } } }