~ubuntu-branches/ubuntu/maverick/apvlv/maverick

« back to all changes in this revision

Viewing changes to src/ApvlvWindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ritter
  • Date: 2010-02-04 15:11:57 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100204151157-nae2guz0p05ir7bc
Tags: 0.0.9.3-1
* New upstream release
* Bumped Standards-Version to 3.8.4, no changes needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
      }
116
116
    else
117
117
      {
118
 
        errp ("type error: %d", type);
 
118
        debug ("type error: %d", type);
119
119
        return NULL;
120
120
      }
121
121
  }
122
122
 
123
123
  void ApvlvWindow::setcurrentWindow (ApvlvWindow * pre, ApvlvWindow * win)
124
124
  {
125
 
    if (pre)
126
 
      asst (pre->type == AW_CORE);
127
 
    asst (win->type == AW_CORE);
128
125
    if (pre != NULL && pre->type == AW_CORE)
129
126
      {
130
127
        pre->mCore->setactive (false);
133
130
    if (win->type == AW_CORE)
134
131
      {
135
132
        win->mCore->setactive (true);
 
133
        if (pre != NULL)
 
134
          {
 
135
            win->mCore->reload ();
 
136
          }
136
137
      }
137
138
 
138
139
    m_curWindow = win;
499
500
  {
500
501
    mWidth = width - 2;
501
502
    mHeight = height - 2;
502
 
    debug ("mWidth: %d, mHeight: %d", mWidth, mHeight);
 
503
//    debug ("mWidth: %d, mHeight: %d", mWidth, mHeight);
503
504
 
504
505
    if (type == AW_CORE)
505
506
      {