Set correct res_name and res_class under X11.

Forums

Hi!
I really like this software. Recently I started using tiled window manager (xmonad) and found that qjackctl does not set correct parameters WM_CLASS to child windows. His set it all to ("qjackctl", "Qjackctl"). And so it becomes difficult to place the dialogs automatically by WM.
I wrote a small patch (in attachment) that fixes the flaw. All child windows now gets correct res_name: "main", "connections", "messages" etc. It is dirty and ugly, but it is possible that developers will find it a useful.
Perhaps there is another way to get a similar effect. I would be glad if you tell the way.

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.