GNOME Bugzilla – Bug 342174
Avoid NOOP in zoom_region_set_viewport
Last modified: 2006-11-27 21:59:49 UTC
We could return if the viewport passed is equal to actual viewport. Calls that try to set viewport with the same value already configured is something that the client must avoid, but some times can occur and we can avoid a lot of NOOP.
I don't think this is a very important noop check, because existing clients call setViewport very infrequently.
Created attachment 77235 [details] [review] patch the issue since the patch is straightforward here it is anyway.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.