diff options
author | David Robillard <d@drobilla.net> | 2012-08-21 05:06:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-21 05:06:31 +0000 |
commit | 8cd115577c698f95ce80c2448e7621a403c60a75 (patch) | |
tree | cd3bb44a06857dfaf8a1a5b00e065aecf795bfbe /src | |
parent | 721f851ea8516f433e428ce55bf1207dab9de92e (diff) | |
download | jalv-8cd115577c698f95ce80c2448e7621a403c60a75.tar.gz jalv-8cd115577c698f95ce80c2448e7621a403c60a75.tar.bz2 jalv-8cd115577c698f95ce80c2448e7621a403c60a75.zip |
Set WM_ROLE to 'plugin_ui' to appease someone who would never do the same for me. As far as I can tell this doesn't make sense for Jalv and doesn't conform to the purpose/meaning of WM_ROLE in general. However it doesn't do any harm either and is useful as a hook for WM kludges.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4733 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c index 083d96f..65089cc 100644 --- a/src/jalv_gtk.c +++ b/src/jalv_gtk.c @@ -584,6 +584,7 @@ jalv_open_ui(Jalv* jalv) jalv_load_presets(jalv, add_preset_to_menu, presets_menu); + gtk_window_set_role(GTK_WINDOW(window), "plugin_ui"); gtk_container_add(GTK_CONTAINER(window), vbox); gtk_box_pack_start(GTK_BOX(vbox), menu_bar, FALSE, FALSE, 0); |