Ensure that the widget is fully onscreen before taking a screenshot.
Otherwise X emits a BadMatch and gtk kills the process (!). Fix #8220
This commit is contained in:
@@ -200,7 +200,7 @@
|
||||
(c-name "sugar_preview_take_screenshot")
|
||||
(return-type "none")
|
||||
(parameters
|
||||
'("GdkDrawable" "drawable")
|
||||
'("GtkWidget" "widget")
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user