gtkwindow: Only allow unrestricted positioning to text handle popovers
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 6 Jul 2015 14:39:06 +0000 (16:39 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 6 Jul 2015 14:39:06 +0000 (16:39 +0200)
commit7f57f63ebaa8e3d12bdaef0ebc730cd81c9bb2fe
tree5992ebbc9a23fec7e8b010c1083a5b60953f01dc
parentdec95caf942dba64110b910ffbfc4ce9d3058561
gtkwindow: Only allow unrestricted positioning to text handle popovers

This behavior has been made optional on add_popover() time, text handles
will keep being able to overflow the window, in order to allow text
selection on views too close to the window edge.

Regular GtkPopovers are reinstaurated to the previous size positioning
logic though, that is, limited by the visible area of the window.
gtk/gtkpopover.c
gtk/gtktexthandle.c
gtk/gtkwindow.c
gtk/gtkwindowprivate.h