Re: Themes for 3.0



Hi,

On Thu, 10 Feb 2011 20:03:19 +0100
wrote Christopher Roy Bratusek <nano tuxfamily org>:

>> 
>> Maybe you bind the Button1-Off keymap to something like this:
>> if/or/and/not raise-tabs-on-hover (focus-mode xxx) raise w ?  
>
>Of course... (why didn't I have the idea?)
>
>(even if you use enter-* you may have configured Sawfish to not auto-raise, thus 
>we leave this solely to tab-raise-on-hover)
>
>diff --git a/lisp/sawfish/wm/keymaps.jl b/lisp/sawfish/wm/keymaps.jl
>index 959e557..67bcd01 100644
>--- a/lisp/sawfish/wm/keymaps.jl
>+++ b/lisp/sawfish/wm/keymaps.jl
>@@ -126,6 +126,10 @@
>     :type keymap)
> 
>   (defcustom tabbar-keymap (bind-keys (make-keymap)
>+				      "Button1-Off" (lambda ()
>+						      (require 'sawfish.wm.tabs.tabgroup)
>+						      (unless tab-raise-on-hover
>+							(tab-refresh-group (current-event-window) 
>'raise)))
> 				      "Button1-Off2" 'toggle-window-shaded
> 				      "Button1-Move" 'move-window-interactively
> 				      "C-Button1-Off" 'tab-add-to-group

By focus modes other as click tabsupport not really work
(add/remove ...). At this moment i check this with sawfish-client. I
will send a patch if it is ready. 

-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0

Attachment: signature.asc
Description: PGP signature



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