Re: Different position of `display-message' output, possible?

On Sun, 13 Sep 2009 20:39:58 +0200, Christopher Roy Bratusek wrote:
> I just added display-workspace-name, but: when cycling to a window
> on a different workspace the cycle message is on the same position
> -and above- the display-workspace-name message

Hi. Sorry for slooow reply. Let me explain the solution I believe

In the trunk, there're two options, 'display-ws-name-on-switch' and
'display-wininfo-show-workspace'. But the latter can be merged into
the former, of which possible value is one of 'always, 'cycle, and
'no. (nil should be considered as 'no, and t as 'always.)
The WS to appear is most unpredictable for window cycling, so this

(display-wininfo) is only called from x-cycle.jl, so when the workspace
is changed at a step of cycle, it should see display-ws-name-on-switch 
and let display-wininfo prints the ws name, say through a new keyword
argument. And in x-cycle, you can put
(let ( (display-workspace-name nil) )
  (select-workspace ws))
to suppress the ws name printing by workspace.jl.

Teika (Teika kazura)

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