Re: jump-or-exec fails when a window without WM_CLASS property exist



Hi, "amateur". (Please subscribe the Sawfish mailing list before you
post the reply.)

> When I open a window without WM_CLASS
> property, like xev, the jump-or-exec functionality fails. The problem
> lies in the usage of
>     (string-match "xxx" (window-class w))
> where (window-class w) returns nil.

Please replace it with:
(and (window-class w)
     (string-match "xxx" (window-class w)))

Chris, can you fix it?

Teika (Teika kazura)



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