gtkglwidget: Calculate the viewport size ourselves
authorSebastian Dröge <sebastian@centricular.com>
Mon, 15 Jun 2015 19:29:46 +0000 (21:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 15 Jun 2015 19:29:46 +0000 (21:29 +0200)
commite410c770f5885e5cba4c652da1f527c549007c19
tree800e53aa2dd276f8b1970b85e28ac5ab06438e12
parent5cabeb34151fabe908c618256beed774b88114b3
gtkglwidget: Calculate the viewport size ourselves

Getting the current viewport and modifying it relatively will produce an
interesting feedback loop during widget resizing. Over a few frames we
will gradually move the viewport a bit until it converged again, adding
unnecessary additional borders at the top and left.
ext/gtk/gtkgstglwidget.c