diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-02 03:10:38 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-02 03:10:38 (GMT) |
commit | 6ea1ed8cfa2915a75479daec2b21513a11cd0cee (patch) | |
tree | faa519623cd4a029aab91534d8f2878533ded97e /src/FbTk/FbWindow.cc | |
parent | 2f9f29df22e82f8648c048eec574443811cec5c1 (diff) | |
download | fluxbox_pavel-6ea1ed8cfa2915a75479daec2b21513a11cd0cee.zip fluxbox_pavel-6ea1ed8cfa2915a75479daec2b21513a11cd0cee.tar.bz2 |
fix border width on synthetic ConfigureNotify events
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 7 |
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 | ||
635 | void FbWindow::sendConfigureNotify(int x, int y, | 635 | void 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 | ||