Commit a5549ece authored by Michael Natterer's avatar Michael Natterer 😴

app: don't pause/resume the shell (and the active tool) around expose()

This was only there to make sure XOR drawing works, and is now
complete overhead since cairo drawing is done *in* expose, and not in
some hack around it.
parent 6fdcc5f4
......@@ -244,8 +244,6 @@ gimp_display_shell_canvas_expose (GtkWidget *widget,
if (gimp_display_get_image (shell->display))
{
gimp_display_shell_pause (shell);
if (gimp_display_shell_is_double_buffered (shell))
gdk_window_begin_paint_region (eevent->window, eevent->region);
}
......@@ -288,8 +286,6 @@ gimp_display_shell_canvas_expose_after (GtkWidget *widget,
{
if (gimp_display_shell_is_double_buffered (shell))
gdk_window_end_paint (eevent->window);
gimp_display_shell_resume (shell);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment