diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-01-03 06:56:59 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-01-03 06:56:59 (GMT) |
commit | bf152502929937af63a0ef2b715ed77d8ce045c2 (patch) | |
tree | 4ca84a312cc56fad227d17b826d09dd945083d75 /src/FbTk | |
parent | b73411a95ffadf8d5c98429b49b08f86071b11dc (diff) | |
parent | 903349f47a03138eb4217c5dbfd27d2bcb6b26cd (diff) | |
download | fluxbox_lack-bf152502929937af63a0ef2b715ed77d8ce045c2.zip fluxbox_lack-bf152502929937af63a0ef2b715ed77d8ce045c2.tar.bz2 |
merged
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FbWindow.cc | 7 | ||||
-rw-r--r-- | src/FbTk/FbWindow.hh | 3 |
2 files changed, 5 insertions, 5 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 | ||
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index b8de60e..e0c4e51 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -195,7 +195,8 @@ public: | |||
195 | void setOpaque(unsigned char alpha); | 195 | void setOpaque(unsigned char alpha); |
196 | 196 | ||
197 | void setRenderer(FbWindowRenderer &renderer) { m_renderer = &renderer; } | 197 | void setRenderer(FbWindowRenderer &renderer) { m_renderer = &renderer; } |
198 | void sendConfigureNotify(int x, int y, unsigned int width, unsigned int height); | 198 | void sendConfigureNotify(int x, int y, unsigned int width, |
199 | unsigned int height, unsigned int bw = 0); | ||
199 | 200 | ||
200 | /// forces full background change, recalcing of alpha values if necessary | 201 | /// forces full background change, recalcing of alpha values if necessary |
201 | void updateBackground(bool only_if_alpha); | 202 | void updateBackground(bool only_if_alpha); |