aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-25 06:02:15 (GMT)
committerfluxgen <fluxgen>2003-06-25 06:02:15 (GMT)
commitbbd93b6c07321264fc42796ac148cb4e132a4cea (patch)
treed28103aa06887ca3c0ce8a4821841ea3f707d7c3 /src
parentc3939e170e6e7163f0e23234e42084ad19d0c315 (diff)
downloadfluxbox-bbd93b6c07321264fc42796ac148cb4e132a4cea.zip
fluxbox-bbd93b6c07321264fc42796ac148cb4e132a4cea.tar.bz2
minor workspace fix
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc
index c280dc8..2cecd25 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.196 2003/06/24 14:57:05 fluxgen Exp $ 25// $Id: Window.cc,v 1.197 2003/06/25 06:02:15 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -380,7 +380,7 @@ void FluxboxWindow::init() {
380 // display connection 380 // display connection
381 display = FbTk::App::instance()->display(); 381 display = FbTk::App::instance()->display();
382 382
383 m_blackbox_attrib.workspace = m_workspace_number = 0; 383 m_blackbox_attrib.workspace = m_workspace_number = ~0;
384 384
385 m_blackbox_attrib.flags = m_blackbox_attrib.attrib = m_blackbox_attrib.stack = 0; 385 m_blackbox_attrib.flags = m_blackbox_attrib.attrib = m_blackbox_attrib.stack = 0;
386 m_blackbox_attrib.premax_x = m_blackbox_attrib.premax_y = 0; 386 m_blackbox_attrib.premax_x = m_blackbox_attrib.premax_y = 0;
@@ -2782,8 +2782,6 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) {
2782 /* 2782 /*
2783 * Snap to screen/head edges 2783 * Snap to screen/head edges
2784 * Snap to windows 2784 * Snap to windows
2785 * Snap to toolbar
2786 * Snap to slit
2787 */ 2785 */
2788 2786
2789 if (screen().getEdgeSnapThreshold() == 0) return; 2787 if (screen().getEdgeSnapThreshold() == 0) return;