My guess on this is that the underlying problem is the change from
- if(gtk_widget_has_screen(GTK_WIDGET(desktop))) - screen = gtk_widget_get_screen(GTK_WIDGET(desktop)); - else - screen = gdk_display_get_default_screen(gdk_display_get_default());
to just using the gtk_grab functions. That altered code likely isn't tolerating a different display for the widget...
My guess on this is that the underlying problem is the change from
- if(gtk_ widget_ has_screen( GTK_WIDGET( desktop) )) get_screen( GTK_WIDGET( desktop) ); get_default_ screen( gdk_display_ get_default( ));
- screen = gtk_widget_
- else
- screen = gdk_display_
to just using the gtk_grab functions. That altered code likely isn't tolerating a different display for the widget...