all repos — fluxbox @ f98ec3e4a766310ca6b3bab0268b1e9038c015c2

custom fork of the fluxbox windowmanager

updated to match functionname
fluxgen fluxgen
commit

f98ec3e4a766310ca6b3bab0268b1e9038c015c2

parent

bfbd0a60955daa921791b73fd43155d6c1b30a95

1 files changed, 12 insertions(+), 11 deletions(-)

jump to
M src/Window.ccsrc/Window.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: Window.cc,v 1.64 2002/08/02 12:58:37 fluxgen Exp $ +// $Id: Window.cc,v 1.65 2002/08/04 15:15:22 fluxgen Exp $ #include "Window.hh"

@@ -285,7 +285,7 @@ fluxbox->saveWindowSearch(frame.plate, this); //save plate window

createTitlebar(); createHandle(); - + associateClientWindow(); grabButtons();

@@ -296,6 +296,7 @@ // use tab? and don't create a tab on windows that's not

// maximizable as default (such as dialogs) if (decorations.tab && fluxbox->useTabs() && decorations.maximize) tab = new Tab(this, 0, 0); + decorate(); XRaiseWindow(display, frame.plate);

@@ -1986,7 +1987,7 @@ #endif // XINERAMA

Slit* mSlt = screen->getSlit(); - if(!screen->doMaxOverSlit() && !screen->doFullMax() && (mSlt->getWidth() > 1)) + if(!screen->doMaxOverSlit() && !screen->doFullMax() && (mSlt->width() > 1)) { switch(screen->getSlitDirection()) {

@@ -1996,10 +1997,10 @@ {

case Slit::TOPRIGHT: case Slit::CENTERRIGHT: case Slit::BOTTOMRIGHT: - slitModR = mSlt->getWidth() + screen->getBevelWidth(); + slitModR = mSlt->width() + screen->getBevelWidth(); break; default: - slitModL = mSlt->getWidth() + screen->getBevelWidth(); + slitModL = mSlt->width() + screen->getBevelWidth(); break; } break;

@@ -2009,7 +2010,7 @@ {

case Slit::TOPLEFT: case Slit::TOPCENTER: case Slit::TOPRIGHT: - slitModT = mSlt->getHeight() + screen->getBevelWidth(); + slitModT = mSlt->height() + screen->getBevelWidth(); switch (screen->getToolbarPlacement()) { case Toolbar::TOPLEFT: case Toolbar::TOPCENTER:

@@ -2022,7 +2023,7 @@ break;

} break; default: - slitModB = mSlt->getHeight() + screen->getBevelWidth(); + slitModB = mSlt->height() + screen->getBevelWidth(); switch (screen->getToolbarPlacement()) { case Toolbar::BOTTOMLEFT: case Toolbar::BOTTOMCENTER:

@@ -2878,8 +2879,8 @@

void FluxboxWindow::propertyNotifyEvent(Atom atom) { Fluxbox *fluxbox = Fluxbox::instance(); - BaseDisplay::GrabGuard gg(*fluxbox); - fluxbox->grab(); +// BaseDisplay::GrabGuard gg(*fluxbox); +// fluxbox->grab(); if (! validateClient()) return; switch(atom) {

@@ -2975,7 +2976,7 @@ }

break; } - fluxbox->ungrab(); +// fluxbox->ungrab(); }

@@ -3580,7 +3581,7 @@ IconBar *iconbar = 0;

IconBarObj *icon = 0; if ((iconbar = screen->getToolbar()->getIconBar()) != 0) { if ((icon = iconbar->findIcon(this)) != 0) - iconbar->draw(icon, icon->getWidth()); + iconbar->draw(icon, icon->width()); } } }