Michael Welsh Duggan <[email protected]> writes:

> "Jasper St. Pierre" <[email protected]>
> writes:
>
>>
>> This means the app tracking isn't working. Try something like this in
>> the looking glass and tell me what it says (make sure that all your
>> xterm windows have "xterm" somewhere in the title!):
>>
>> Shell.WindowTracker.get_default().get_window_app([x for each(x in
>> global.get_window_actors()) if
>> (x.meta_window.get_title().indexOf("xterm") >
>> 0)][0].meta_window).get_id()
>
> Well, this particular invocation ends up resulting in an error, but
> that's because indexOf("xterm") is equal to 0 for all the windows in
> question.  If I change this to >= 0, the return value is window:3.

Just a slightly unrelated sub-note: is it possible to copy looking glass
output to the clipboard, insert into the clipboard from looking glass,
or in some other manner export information from looking glass to
external applications (such as my mail/news sending program)?

-- 
Michael Welsh Duggan
([email protected])

_______________________________________________
gnome-shell-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to