Buffer-menu-use-frame-buffer-list is a variable defined in `buff-menu.el'.
Its value is

If non-nil, the Buffer Menu uses the selected frame's buffer list.
Buffers that were never selected in that frame are listed at the end.
If the value is nil, the Buffer Menu uses the global buffer list.
This variable matters if the Buffer Menu is sorted by visited order,
as it is by default.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 22.1 of Emacs.