The gnome shell extension "Buttons to Panel" is a fork of the extension "Window Buttons", which allows to show the window buttons of the currently focused window in the top panel of the GNOME shell. Unlike the original extension it is possible, that only the window buttons of windows, which are maximized and located on the screen, that contains the top panel, are considered by the extension due to better multi-monitor support.