added deleteProperty to FbWindow

This commit is contained in:
mathias 2004-12-21 16:12:28 +00:00
parent 37c6602f07
commit a88d3b39ad
2 changed files with 42 additions and 36 deletions

View file

@ -389,6 +389,10 @@ void FbWindow::changeProperty(Atom property, Atom type,
data, nelements); data, nelements);
} }
void FbWindow::deleteProperty(Atom property) {
XDeleteProperty(display(), m_window, property);
}
int FbWindow::screenNumber() const { int FbWindow::screenNumber() const {
return m_screen_num; return m_screen_num;
} }

View file

@ -137,6 +137,8 @@ public:
unsigned char *data, unsigned char *data,
int nelements); int nelements);
void deleteProperty(Atom property);
void setBufferPixmap(Pixmap pm); void setBufferPixmap(Pixmap pm);
std::string textProperty(Atom property) const; std::string textProperty(Atom property) const;