Bug 178353

Summary: notify-daemon needs to key off of an XSelection to see if a composite manager is running
Product: [Fedora] Fedora Reporter: John (J5) Palmieri <johnp>
Component: notify-daemonAssignee: Christopher Aillon <caillon>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jkeck, johnp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-03 22:39:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    

Description John (J5) Palmieri 2006-01-19 19:40:47 UTC
Description of problem:
Right now we check the visual to see if we use shaped or compsite windows but if
we have an ARGB visual but no comp manager running we get an ugly black box
where it should be transparent.
  
How to fix:

Check to see if an XSelection has been grabed by a comp manager.  If so then use
composite, if not, use shaped windows.  This should be dynamic.  If the
selection goes away, start shaping the window.  If a new comp manager grabs the
selection start using composite.  This involves simply flipping a switch in the
eggnotificationbubble instance struct (I think it is has_composite or do_composite).

Standerdize on some name like X_COMP_MANAGER_ACTIVE

Comment 1 Christopher Aillon 2006-02-03 22:39:05 UTC
CM_Sn where n is the screen number on the current display, for parity with
WM_Sn.  In rawhide.