Bug 20825

Summary: PATCH: Check for _NET_WM_CM_Sn before trying to install xcompmgr as composite manger
Product: xorg Reporter: Yann Droneaud <yann>
Component: * OtherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 20824    
Bug Blocks:    
Attachments:
Description Flags
Check for _NET_WM_CM_Sn before trying to install ourself as composite manager
none
Try to report current composite manager name none

Description Yann Droneaud 2009-03-24 06:54:34 UTC
Created attachment 24195 [details] [review]
Check for _NET_WM_CM_Sn before trying to install ourself as composite manager

xcompmgr should check for a selection owner of _NET_WM_CM_Sn before taking ownership on it, so clients watching for selection ownership
changes won't be disturbed.
Comment 1 Yann Droneaud 2009-03-24 07:00:13 UTC
Created attachment 24196 [details] [review]
Try to report current composite manager name

The attached patch try to read NET_WM_CM_Sn owner's NET_WM_NAME (or WM_NAME) property and display it or if not possible report its window id.
Remarks: metacity and kwin currently don't set a window name for
NET_WM_CM_Sn owner, but xcompmgr and compiz do. This should be added
to wm-spec.
Comment 2 Adam Jackson 2009-04-14 07:25:59 UTC
Applied, thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.