fix build with --disable-slit
rathnor rathnor
2 files changed,
9 insertions(+),
2 deletions(-)
M
ChangeLog
→
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
M
src/Screen.cc
→
src/Screen.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: 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 @@ #endif // HAVE_CONFIG_H
#ifdef SLIT #include "Slit.hh" +#else +// fill it in +class Slit {}; #endif // SLIT #ifdef STDC_HEADERS@@ -2417,6 +2420,7 @@ // this can be gone and a consistent interface for the two used
// on the actual objects +#ifdef SLIT template <> int BScreen::getOnHead<Slit>(Slit &slit) { return 0;@@ -2427,4 +2431,4 @@ void BScreen::setOnHead<Slit>(Slit &slit, int head) {
// slit.saveOnHead(head); slit.reconfigure(); } - +#endif // SLIT