all repos — fluxbox @ abcad4617214d0b9376af7020779ee0917cb04bc

custom fork of the fluxbox windowmanager

indentation
fluxgen fluxgen
commit

abcad4617214d0b9376af7020779ee0917cb04bc

parent

c582abcc5469e1e9a8c5bfaad0d53daa6df58542

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M src/Workspace.ccsrc/Workspace.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Workspace.cc,v 1.31 2002/09/21 16:02:22 fluxgen Exp $ +// $Id: Workspace.cc,v 1.32 2002/10/13 21:52:00 fluxgen Exp $ #include "Workspace.hh"

@@ -41,7 +41,7 @@ #define _GNU_SOURCE

#endif // _GNU_SOURCE #ifdef HAVE_CONFIG_H -#include "../config.h" +#include "config.h" #endif // HAVE_CONFIG_H #include <X11/Xlib.h>

@@ -463,7 +463,7 @@

void Workspace::placeWindow(FluxboxWindow *win) { Bool placed = False; int borderWidth4x = screen->getBorderWidth2x() * 2, -#ifdef SLIT +#ifdef SLIT slit_x = screen->getSlit()->x() - screen->getBorderWidth(), slit_y = screen->getSlit()->y() - screen->getBorderWidth(), slit_w = screen->getSlit()->width() + borderWidth4x,

@@ -611,7 +611,7 @@ if ((toolbar_x < test_x + win_w &&

toolbar_x + toolbar_w > test_x && toolbar_y < test_y + win_h && toolbar_y + toolbar_h > test_y) -#ifdef SLIT +#ifdef SLIT || (slit_x < test_x + win_w && slit_x + slit_w > test_x &&

@@ -733,7 +733,7 @@ if ((toolbar_x < test_x + win_w &&

toolbar_x + toolbar_w > test_x && toolbar_y < test_y + win_h && toolbar_y + toolbar_h > test_y) -#ifdef SLIT +#ifdef SLIT || (slit_x < test_x + win_w && slit_x + slit_w > test_x &&