Re: Sawfish + Screenlets doesn't work



I can't find in the EWMH specs how should be managed a window with
_NET_WM_WINDOW_TYPE_TOOLBAR property enabled, but in this email
http://mail.gnome.org/archives/wm-spec-list/2002-July/msg00002.html
is stated that a toolbar should be decorated by the toolkit not the
window manager.

I've modified frames.jl (it's a single line patch ^__^) to follow
what's suggested above, and seems to fix the "screenlets". Right now I
can't recall other applications that use toolbars so I don't know if
it breaks something else.

I'll put it to the wiky for comments.


--- sawfish-1.3.3/lisp/sawfish/wm/frames.jl	2007-07-29 11:45:04.000000000 +0200
+++ sawfish-1.3.3-local/lisp/sawfish/wm/frames.jl	2008-04-05
16:51:51.610555185 +0200
@@ -156,8 +156,8 @@
       (dock . icon)
       (utility . default)
       (shaded-utility . shaded-transient)
-      (toolbar . utility)
-      (shaded-toolbar . shaded-utility)
+      (toolbar . unframed)
+;;    (shaded-toolbar . shaded-utility)
       (menu . utility)
       (shaded-menu . shaded-utility)
       (splash . unframed))

-- 
Andrea


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