aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-15 13:52:06 (GMT)
committerfluxgen <fluxgen>2003-08-15 13:52:06 (GMT)
commit091748bd46d27d66966d807c27a49ab172180672 (patch)
tree6187203378b5a08c8b28a1eaab2d3497b3538636 /src/FbTk/FbWindow.cc
parent859fafeecf6ca526d166a8bfb72f5a599ebb2d4b (diff)
downloadfluxbox_pavel-091748bd46d27d66966d807c27a49ab172180672.zip
fluxbox_pavel-091748bd46d27d66966d807c27a49ab172180672.tar.bz2
reparent
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 5d64728..09c75d1 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.cc,v 1.23 2003/08/04 12:44:43 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.24 2003/08/15 13:52:06 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25 25
@@ -319,6 +319,11 @@ void FbWindow::unsetCursor() {
319 XUndefineCursor(s_display, window()); 319 XUndefineCursor(s_display, window());
320} 320}
321 321
322void FbWindow::reparent(const FbWindow &parent, int x, int y) {
323 XReparentWindow(s_display, window(), parent.window(), x, y);
324 m_parent = &parent;
325 updateGeometry();
326}
322 327
323bool FbWindow::property(Atom property, 328bool FbWindow::property(Atom property,
324 long long_offset, long long_length, 329 long long_offset, long long_length,