all repos — fluxbox @ 923d9eaf2be5c601188c8cf4f4fbb715e507533f

custom fork of the fluxbox windowmanager

removed old functions
fluxgen fluxgen
commit

923d9eaf2be5c601188c8cf4f4fbb715e507533f

parent

3006ba49e41538bcc0c4afe958875c59a34550a9

2 files changed, 4 insertions(+), 21 deletions(-)

jump to
M src/Workspace.ccsrc/Workspace.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Workspace.cc,v 1.79 2003/08/04 16:28:10 fluxgen Exp $ +// $Id: Workspace.cc,v 1.80 2003/08/19 16:16:28 fluxgen Exp $ #include "Workspace.hh"

@@ -216,6 +216,7 @@

if (m_lastfocus == w || m_windowlist.empty()) m_lastfocus = 0; + if (!w->isStuck()) { FluxboxWindow::ClientList::iterator client_it = w->clientList().begin();

@@ -386,20 +387,6 @@ }

void Workspace::update() { m_clientmenu.update(); -} - - -bool Workspace::isCurrent() const{ - return (m_id == screen().currentWorkspaceID()); -} - - -bool Workspace::isLastWindow(FluxboxWindow *w) const{ - return (w == m_windowlist.back()); -} - -void Workspace::setCurrent() { - screen().changeWorkspaceID(m_id); }
M src/Workspace.hhsrc/Workspace.hh

@@ -60,7 +60,6 @@ void hideAll();

void removeAll(); void reconfigure(); void update(); - void setCurrent(); void shutdown(); void addWindow(FluxboxWindow &win, bool place = false); int removeWindow(FluxboxWindow *win);

@@ -85,16 +84,13 @@

const Windows &windowList() const { return m_windowlist; } Windows &windowList() { return m_windowlist; } - bool isCurrent() const; - bool isLastWindow(FluxboxWindow *window) const; int numberOfWindows() const; bool checkGrouping(FluxboxWindow &win); + static bool loadGroups(const std::string &filename); -protected: - void placeWindow(FluxboxWindow &win); private: - + void placeWindow(FluxboxWindow &win); BScreen &m_screen; FluxboxWindow *m_lastfocus;