Commit 22c769a3 authored by Cheng Sun's avatar Cheng Sun Committed by Jean-Baptiste Kempf

GTK: allow return from fullscreen by clicking on embedded area

parent 434258eb
......@@ -365,6 +365,10 @@ bool VlcPluginGtk::create_windows()
parent = gtk_plug_new(socket);
gtk_widget_modify_bg(parent, GTK_STATE_NORMAL, &color_bg);
gtk_widget_add_events(parent,
GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK);
g_signal_connect(G_OBJECT(parent), "button-press-event", G_CALLBACK(video_button_handler), this);
parent_vbox = gtk_vbox_new(false, 0);
gtk_container_add(GTK_CONTAINER(parent), parent_vbox);
......
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