[Bug 750455] New: [xvimage and ximagesink] set WM_CLASS for the window

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 5 08:10:08 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750455

            Bug ID: 750455
           Summary: [xvimage and ximagesink] set WM_CLASS for the window
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: luis at debethencourt.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 304655
  --> https://bugzilla.gnome.org/attachment.cgi?id=304655&action=edit
fix for xvimagesink

Most customizable window managers use the WM_CLASS property of the window to
decide what rules to apply to it. xvimagesink and ximagesink don't set this
property making them impossible to customize.

Fix this by setting the XClassHint property.

For example in i3, after setting the property, you can set the following rule
to have a player's window float instead of tile.

for_window [class="GStreamer"]    floating enable

res_name should match the window title, for this case it is 'gst-launch-1.0'.
I'm not 100% sure if 'GStreamer' is the best class name, I'm open to proposals.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list