added updateGeometry to force an update

This commit is contained in:
fluxgen 2003-05-12 04:29:50 +00:00
parent fd9a18daa4
commit cf8811f3a9
2 changed files with 7 additions and 3 deletions

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: FbRootWindow.cc,v 1.1 2003/05/10 22:50:19 fluxgen Exp $
// $Id: FbRootWindow.cc,v 1.2 2003/05/12 04:29:50 fluxgen Exp $
#include "FbRootWindow.hh"
#include "App.hh"
@ -61,3 +61,7 @@ FbRootWindow::FbRootWindow(int screen_num):
m_colormap = DefaultColormap(disp, screen_num);
}
}
void FbRootWindow::updateGeometry() {
FbWindow::updateGeometry();
}

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: FbRootWindow.hh,v 1.1 2003/05/10 22:50:19 fluxgen Exp $
// $Id: FbRootWindow.hh,v 1.2 2003/05/12 04:29:23 fluxgen Exp $
#ifndef FBROOTWINDOW_HH
#define FBROOTWINDOW_HH
@ -37,7 +37,7 @@ public:
void hide() { }
// we should not assign a new window to this
FbTk::FbWindow &operator = (Window win) { return *this; }
void updateGeometry();
inline Visual *visual() const { return m_visual; }
inline Colormap colormap() const { return m_colormap; }