diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2019-04-14 19:12:00 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2019-04-14 19:12:00 +0200 |
commit | 60a8e49c8a63db47b8eb31618e0b6aa5be729a80 (patch) | |
tree | 96ca4661fb737b7f1af8c5bc2ab5e238be954062 /settings-dialogs/xfwm4-settings.c | |
parent | 5ece9b89905cfa65023f00b8e185fbf438c076f8 (diff) | |
download | xfwm4-60a8e49c8a63db47b8eb31618e0b6aa5be729a80.tar.gz |
settings: Crash in button layout
Bug: 14606
`gdk_pixbuf_get_from_window()` crashes every other call in cairo, there
are apparently a few similar reports.
Just remove the call to `gdk_pixbuf_get_from_window()` as a workaround
for now.
Diffstat (limited to 'settings-dialogs/xfwm4-settings.c')
-rw-r--r-- | settings-dialogs/xfwm4-settings.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings-dialogs/xfwm4-settings.c b/settings-dialogs/xfwm4-settings.c index 0377a8b94..ecdd3e810 100644 --- a/settings-dialogs/xfwm4-settings.c +++ b/settings-dialogs/xfwm4-settings.c @@ -1208,11 +1208,13 @@ xfwm_settings_title_button_press_event (GtkWidget *widget) GdkPixbuf *pixbuf; g_return_val_if_fail (GTK_IS_WIDGET (widget), TRUE); - + /* FIXME! This crashes in cairo... xfce bug 14606 */ +#if 0 /* set pixbuf before drag begin cause it can be not displayed */ pixbuf = xfwm_settings_create_icon_from_widget (widget); gtk_drag_source_set_icon_pixbuf (widget, pixbuf); g_object_unref (pixbuf); +#endif return TRUE; } |