mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Add missing XSync to prevent BadDrawable error.
b=133713 r=serge sr=blizzard a=asa.
This commit is contained in:
parent
5fe0b177f4
commit
137365d1d9
@ -358,6 +358,8 @@ createPixmap(PluginInstance *This)
|
||||
style = gtk_widget_get_style((GtkWidget *)gdk_window->user_data);
|
||||
nullPluginGdkPixmap = gdk_pixmap_create_from_xpm_d(gdk_window , &mask,
|
||||
&style->bg[GTK_STATE_NORMAL], npnul320_xpm);
|
||||
/* Pixmap is created on original X session but used by new session */
|
||||
XSync(GDK_DISPLAY(), False);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user