minor fix so we can force update on geometry in subclasses

This commit is contained in:
fluxgen 2003-05-12 04:20:25 +00:00
parent 99b6dc4e5d
commit a084e737f8

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: FbWindow.hh,v 1.14 2003/05/10 23:11:08 fluxgen Exp $ // $Id: FbWindow.hh,v 1.15 2003/05/12 04:20:25 fluxgen Exp $
#ifndef FBTK_FBWINDOW_HH #ifndef FBTK_FBWINDOW_HH
#define FBTK_FBWINDOW_HH #define FBTK_FBWINDOW_HH
@ -108,12 +108,12 @@ public:
protected: protected:
/// creates a window with x window client (m_window = client) /// creates a window with x window client (m_window = client)
explicit FbWindow(Window client); explicit FbWindow(Window client);
/// updates x,y, width, height and screen num from X window
private:
// sets new window and destroys old
void setNew(Window win);
void updateGeometry(); void updateGeometry();
private:
/// sets new X window and destroys old
void setNew(Window win);
/// creates a new X window
void create(Window parent, int x, int y, unsigned int width, unsigned int height, void create(Window parent, int x, int y, unsigned int width, unsigned int height,
long eventmask, long eventmask,
bool override_redirect, bool override_redirect,