aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-02 03:10:38 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-02 03:10:38 (GMT)
commit6ea1ed8cfa2915a75479daec2b21513a11cd0cee (patch)
treefaa519623cd4a029aab91534d8f2878533ded97e /src/FbTk/FbWindow.cc
parent2f9f29df22e82f8648c048eec574443811cec5c1 (diff)
downloadfluxbox-6ea1ed8cfa2915a75479daec2b21513a11cd0cee.zip
fluxbox-6ea1ed8cfa2915a75479daec2b21513a11cd0cee.tar.bz2
fix border width on synthetic ConfigureNotify events
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 12492d9..12b16d9 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -633,7 +633,8 @@ void FbWindow::create(Window parent, int x, int y,
633 633
634 634
635void FbWindow::sendConfigureNotify(int x, int y, 635void FbWindow::sendConfigureNotify(int x, int y,
636 unsigned int width, unsigned int height) { 636 unsigned int width, unsigned int height,
637 unsigned int bw) {
637 Display *disp = FbTk::App::instance()->display(); 638 Display *disp = FbTk::App::instance()->display();
638 XEvent event; 639 XEvent event;
639 event.type = ConfigureNotify; 640 event.type = ConfigureNotify;
@@ -645,9 +646,7 @@ void FbWindow::sendConfigureNotify(int x, int y,
645 event.xconfigure.y = y; 646 event.xconfigure.y = y;
646 event.xconfigure.width = width; 647 event.xconfigure.width = width;
647 event.xconfigure.height = height; 648 event.xconfigure.height = height;
648 //!! TODO 649 event.xconfigure.border_width = bw;
649 event.xconfigure.border_width = 1;
650 //!! TODO
651 event.xconfigure.above = None; 650 event.xconfigure.above = None;
652 event.xconfigure.override_redirect = false; 651 event.xconfigure.override_redirect = false;
653 652