diff options
author | fluxgen <fluxgen> | 2004-01-16 11:58:45 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-16 11:58:45 (GMT) |
commit | 5a24731d3af68f376db099d8bb8ee4d7cb581124 (patch) | |
tree | 12b4ef5ecc22339719cc73fd63a95671cadacdfe /src/Window.cc | |
parent | f06fef6b4982976339de592fab0471239cc79d99 (diff) | |
download | fluxbox_pavel-5a24731d3af68f376db099d8bb8ee4d7cb581124.zip fluxbox_pavel-5a24731d3af68f376db099d8bb8ee4d7cb581124.tar.bz2 |
different window for position coordinates, patch from Junichiro Kita
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index bb44b50..5f024bd 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.260 2004/01/16 11:41:38 fluxgen Exp $ | 25 | // $Id: Window.cc,v 1.261 2004/01/16 11:58:45 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -294,6 +294,7 @@ FluxboxWindow::~FluxboxWindow() { | |||
294 | 294 | ||
295 | if (moving || resizing || m_attaching_tab) { | 295 | if (moving || resizing || m_attaching_tab) { |
296 | screen().hideGeometry(); | 296 | screen().hideGeometry(); |
297 | screen().hidePosition(); | ||
297 | XUngrabPointer(display, CurrentTime); | 298 | XUngrabPointer(display, CurrentTime); |
298 | } | 299 | } |
299 | 300 | ||
@@ -2811,7 +2812,7 @@ void FluxboxWindow::stopMoving() { | |||
2811 | } | 2812 | } |
2812 | 2813 | ||
2813 | 2814 | ||
2814 | screen().hideGeometry(); | 2815 | screen().hidePosition(); |
2815 | XUngrabPointer(display, CurrentTime); | 2816 | XUngrabPointer(display, CurrentTime); |
2816 | 2817 | ||
2817 | FbTk::App::instance()->sync(false); //make sure the redraw is made before we continue | 2818 | FbTk::App::instance()->sync(false); //make sure the redraw is made before we continue |