diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-06 08:06:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-06 08:06:54 +0000 |
| commit | d363f720a6b0d1c361bc2022d0e5fcd5a75fd04d (patch) | |
| tree | 468da3f0e2c52fb761cf3a89c6766dee6d15f45c /src/screen.cc | |
| parent | d3b7c84d4c640face48dfb54d70de2bff1551429 (diff) | |
fix compiling with the new strut (new namespace)
and fix general errors that broke compiling.
make xeventhandler find the OBClient for most events..
Diffstat (limited to 'src/screen.cc')
| -rw-r--r-- | src/screen.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/screen.cc b/src/screen.cc index 0d5810d7..20a6169a 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -113,7 +113,8 @@ BScreen::BScreen(Blackbox *bb, unsigned int scrn) : ScreenInfo(scrn) { // xatom->setSupported(this); // set-up netwm support #ifdef HAVE_GETPID - xatom->setValue(getRootWindow(), otk::OBProperty::blackbox_pid, otk::OBProperty::cardinal, + xatom->setValue(getRootWindow(), otk::OBProperty::blackbox_pid, + otk::OBProperty::Atom_Cardinal, (unsigned long) getpid()); #endif // HAVE_GETPID unsigned long geometry[] = { getWidth(), @@ -1519,12 +1520,12 @@ void BScreen::hideGeometry(void) { } -void BScreen::addStrut(Strut *strut) { +void BScreen::addStrut(otk::Strut *strut) { strutList.push_back(strut); } -void BScreen::removeStrut(Strut *strut) { +void BScreen::removeStrut(otk::Strut *strut) { strutList.remove(strut); } @@ -1569,7 +1570,7 @@ void BScreen::updateAvailableArea(void) { StrutList::const_iterator it = strutList.begin(), end = strutList.end(); for(; it != end; ++it) { - Strut *strut = *it; + otk::Strut *strut = *it; if (strut->left > current_left) current_left = strut->left; if (strut->top > current_top) |
