Re: Themes for 3.0

Am Donnerstag 04 November 2010, 21:13:37 schrieb Christopher Roy Bratusek:
> Well after doing some testing I removed a small portion:
> diff --git a/lisp/sawfish/wm/tabs/tabgroup.jl
> b/lisp/sawfish/wm/tabs/tabgroup.jl index bdfc95a..cd55e5a 100644
> --- a/lisp/sawfish/wm/tabs/tabgroup.jl
> +++ b/lisp/sawfish/wm/tabs/tabgroup.jl
> @@ -287,7 +287,7 @@
>        (make-group-unsticky w)))
>    (unless batch-mode
> -    (add-hook 'focus-in-hook raise-tab-group)
> +    ;(add-hook 'focus-in-hook raise-tab-group)
>      (add-hook 'window-state-change-hook
>                (lambda (win args)
>                  (if (= '(sticky) args)
> The reason why I did is pretty simple: it always raises a newly focused
> window. That is a bad behavior, as it overrides the settings I made
> (enter-exit, but not raising a window, unless I hit it's border (using
> raise-tabs-on-hover)).
> Chris

OK. The proper fix would be to listen to focus-in, check whether the window was 
raised, and THEN raise the group. Though I haven't yet checked, whether we 
have something like raised-p or similar.

Also: what do you plan on doing for tabs? I just would like to know how much 
is still beeing done, so that I know whether I can release the RC of Sawfish 
1.8 in December or not. (won't happen without edge-actions and tabs-ng).


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