Bug 20825 - PATCH: Check for _NET_WM_CM_Sn before trying to install xcompmgr as composite manger
Summary: PATCH: Check for _NET_WM_CM_Sn before trying to install xcompmgr as composite...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on: 20824
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-24 06:54 UTC by Yann Droneaud
Modified: 2009-04-14 07:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Check for _NET_WM_CM_Sn before trying to install ourself as composite manager (1.48 KB, patch)
2009-03-24 06:54 UTC, Yann Droneaud
no flags Details | Splinter Review
Try to report current composite manager name (1.61 KB, patch)
2009-03-24 07:00 UTC, Yann Droneaud
no flags Details | Splinter Review

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.