[SCM] calf/master: GUI: Set plugin GUI window's role to plugin_ui (for WM kludges etc).

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:51 UTC 2013


The following commit has been merged in the master branch:
commit 195ce41b59918b050a85507c40733dc5992496cb
Author: Nedko Arnaudov <nedko at arnaudov.name>
Date:   Wed Nov 18 23:49:41 2009 +0200

    GUI: Set plugin GUI window's role to plugin_ui (for WM kludges etc).
    
    The same role is used by zynjacku/lv2rack, ardour and ingen

diff --git a/src/gui.cpp b/src/gui.cpp
index 5474a3d..3c85746 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -639,6 +639,7 @@ void plugin_gui_window::create(plugin_ctl_iface *_jh, const char *title, const c
     gtk_window_set_default_icon_name("calf");
     gtk_widget_set_name(GTK_WIDGET(toplevel), "calf-plugin");
     gtk_window_set_type_hint(toplevel, GDK_WINDOW_TYPE_HINT_DIALOG);
+    gtk_window_set_role(toplevel, "plugin_ui");
     GtkVBox *vbox = GTK_VBOX(gtk_vbox_new(false, 0));
     
     GtkRequisition req, req2;

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list