[L2Ork-dev] question about qjackctl explicitly setting the wm class name

Ivica Bukvic ico at vt.edu
Sun Dec 2 05:52:58 UTC 2012


Many thanks for the info, Mathieu. AFAICT it appears Unity is the problem
on this case.
On Dec 1, 2012 8:16 PM, "Mathieu Bouchard" <matju at artengine.ca> wrote:

> Le 2012-11-30 à 10:22:00, Ivica Ico Bukvic a écrit :
>
>  So, here's the question that's been bugging me: is there a way to
>> explicitly set the window class name in qt as is the case with tcl/tk
>> (FWIW, I would be seriously surprised if one couldn't since I consider qt
>> far superior to tcl/tk) and if so, would it be possible to add this to the
>> future releases of qjackctl?
>>
>
> Search for "window class"
>
> find http://www.astro.princeton.**edu/~rhl/Tcl-Tk_docs/tk/**
> SetClass.3.html<http://www.astro.princeton.edu/~rhl/Tcl-Tk_docs/tk/SetClass.3.html>
>
> See WM_CLASS.
>
> Search qt4 WM_CLASS.
>
> find http://lists.kde.org/?l=kde-**core-devel&m=109120145218935&**w=2<http://lists.kde.org/?l=kde-core-devel&m=109120145218935&w=2>
>
> You can see that it's actually using the Xlib API instead :
>
>   XClassHint hint;
>   hint.res_class = const_cast< char* >( "Konsole" );
>   hint.res_name = const_cast< char* >( "konsole" );
>   XSetClassHint( qt_xdisplay(), w->winId(), &hint );
>
> I didn't try it.
>
>  ______________________________**______________________________**
> __________
> | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> http://disis.music.vt.edu/cgi-bin/mailman/listinfo/l2ork-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20121202/6c2c2780/attachment-0001.html>


More information about the L2Ork-dev mailing list