mirror of https://github.com/GNOME/gimp.git
app: increase GimpSelectionTools idle priority to avoid flickering
In gimp_selection_tool_start_change(), increase the priority of the idle source used for hiding the selection so that it's run before the canvas is redrawn, to avoid flickering the previous selection.
This commit is contained in:
parent
3db167083a
commit
3369958525
|
@ -708,9 +708,10 @@ gimp_selection_tool_start_change (GimpSelectionTool *sel_tool,
|
|||
* restarting the selection if we don't visit the main loop between
|
||||
* the start_change() and end_change() calls.
|
||||
*/
|
||||
sel_tool->idle_id = g_idle_add (
|
||||
sel_tool->idle_id = g_idle_add_full (
|
||||
G_PRIORITY_HIGH_IDLE,
|
||||
(GSourceFunc) gimp_selection_tool_idle,
|
||||
sel_tool);
|
||||
sel_tool, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue