Re: winoptions and Audacious with space in WM_NAME
Ing. Jan PetrouĊĦek <[email protected]> Wed, 24 Aug 2016 08:54:14 +0200
| Newsgroups | gmane.comp.window-managers.icewm.user |
|---|---|
| Message-ID | <[email protected]> |
On 08/23/2016 08:33 PM, Laurence Darby wrote:
> On Tue, 23 Aug 2016 11:40:43 +0200 Ing. Jan Petrou=A8ek wrote:
>
>> Hello,
>>
>> I am using Audacious with Winamp skin and would like to remove its
>> playlist and equalizer window from QuickSwitch
>>
>> The problem is, that playlist window and eqalizer window, both have
>> the same WM_CLASS and both have space in WM_NAME:
>>
>> WM_CLASS(STRING) =3D "audacious", "Audacious"
>> WM_NAME(STRING) =3D "Audacious Playlist Editor"
>>
>> WM_CLASS(STRING) =3D "audacious", "Audacious"
>> WM_NAME(STRING) =3D "Audacious Equalizer"
>>
>> Is there a way to define it somehow in winoptions file?
>>
>> Or should I recompile Audacious with changed WM_NAME strings like
>> "Audacious_Equalizer" and such?
> That's what I did:
>
> --- audacious-plugins-3.3.3.orig/src/skins/ui_equalizer.c 2012-12-1=
0 23:49:06.000000000 +0000
> +++ audacious-plugins-3.3.3/src/skins/ui_equalizer.c 2013-01-27 13:37:=
13.919097568 +0000
> @@ -373,6 +373,7 @@
> eq_win_draw);
> =
> gtk_window_set_title(GTK_WINDOW(equalizerwin), _("Audacious Equaliz=
er"));
> + gtk_window_set_wmclass (GTK_WINDOW(equalizerwin), "audacious_eq", "A=
udacious");
> =
> /* this will hide only mainwin. it's annoying! yaz */
> gtk_window_set_transient_for(GTK_WINDOW(equalizerwin),
>
> --- audacious-plugins-3.3.3.orig/src/skins/ui_playlist.c 2012-12-1=
0 23:49:06.000000000 +0000
> +++ audacious-plugins-3.3.3/src/skins/ui_playlist.c 2013-01-27 13:38:=
29.410344239 +0000
> @@ -740,6 +740,7 @@
> config.playlist_height, FALSE, config.playlist_shaded, pl_win_draw=
);
> =
> gtk_window_set_title(GTK_WINDOW(playlistwin), _("Audacious Playlist=
Editor"));
> + gtk_window_set_wmclass (GTK_WINDOW(playlistwin), "audacious_pe", "Au=
dacious");
> =
> gtk_window_set_transient_for(GTK_WINDOW(playlistwin),
> GTK_WINDOW(mainwin));
>
>
> Laurence
Ha! It's in the plugins package. It seems it might work. Thank you brother.=
God =
bless you
---------------------------------------------------------------------------=
---