Preliminary fix for 1.3 shading bugs.



The attached patch starts to fix the shading bugs that some have noticed
with sawfish 1.3 and applications that implement newer EWMH
_NET_WM_WINDOW_TYPE's ... specifically UTILITY, MENU, TOOLBAR.

The patch creates 3 new shaded frame types shaded-utility, shaded-menu,
and shaded-toolbar.  Unfortunately I haven't yet figured out how to
fallback for these types, so they MUST be implemented in your theme.

If anyone understands how the fallback system works ... your help would
be greatly appreciated.

This bug apparently doesn't exist on sawfish-1.0.1 and probably other
<1.3 versions.  I've glanced at the 1.0.1 code and the way the fallback
stuff is implented is beyond me.

Good luck with this.
--David
--- sawfish-1.3_orig/lisp/sawfish/wm/state/shading.jl	2003-10-20 04:27:06.000000000 -0700
+++ sawfish-1.3/lisp/sawfish/wm/state/shading.jl	2003-10-20 04:26:28.000000000 -0700
@@ -83,6 +83,9 @@
 	(case type
 	  ((default shaped) 'shaded)
 	  ((transient shaped-transient) 'shaded-transient)
+	  ((utility shaped-utility) 'shaded-utility)
+	  ((menu shaped-menu) 'shaded-menu)
+	  ((toolbar shaped-toolbar) 'shaded-toolbar)
 	  (t type))
       type))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]