From 7c70b2cd5b7bb0d67f4b5227710e8948c84b86fe Mon Sep 17 00:00:00 2001 From: rathnor Date: Tue, 28 Oct 2003 17:39:59 +0000 Subject: fix build with --disable-slit --- ChangeLog | 3 +++ src/Screen.cc | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b6d846..9bd1f4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.6: +*03/10/28: + * Fix building with --disable-slit (Simon) + Screen.cc *03/10/27: * Change FbWinFrame to NOT reparent client windows into clientarea (Simon) - fixes (I think) java bug with missing drawing bits of window diff --git a/src/Screen.cc b/src/Screen.cc index fe5bb25..34173a3 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.238 2003/10/05 06:28:47 rathnor Exp $ +// $Id: Screen.cc,v 1.239 2003/10/28 17:39:59 rathnor Exp $ #include "Screen.hh" @@ -69,6 +69,9 @@ #ifdef SLIT #include "Slit.hh" +#else +// fill it in +class Slit {}; #endif // SLIT #ifdef STDC_HEADERS @@ -2417,6 +2420,7 @@ int BScreen::getHeadHeight(int head) const { // on the actual objects +#ifdef SLIT template <> int BScreen::getOnHead(Slit &slit) { return 0; @@ -2427,4 +2431,4 @@ void BScreen::setOnHead(Slit &slit, int head) { // slit.saveOnHead(head); slit.reconfigure(); } - +#endif // SLIT -- cgit v0.11.2