fix build with --disable-slit

This commit is contained in:
rathnor 2003-10-28 17:39:59 +00:00
parent 811bec8f1d
commit 7c70b2cd5b
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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 &slit) {
return 0;
@ -2427,4 +2431,4 @@ void BScreen::setOnHead<Slit>(Slit &slit, int head) {
// slit.saveOnHead(head);
slit.reconfigure();
}
#endif // SLIT