all repos — fluxbox @ 6b36857d2196c4a3da8b91c9eeffb43e177ead7e

custom fork of the fluxbox windowmanager

minor offset fix
fluxgen fluxgen
commit

6b36857d2196c4a3da8b91c9eeffb43e177ead7e

parent

55f4857ea97393996eb266f86e1c69030fef0dcf

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

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

@@ -19,7 +19,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: Shape.cc,v 1.1 2003/07/10 12:04:46 fluxgen Exp $ +// $Id: Shape.cc,v 1.2 2003/07/10 14:47:53 fluxgen Exp $ #include "Shape.hh" #include "FbWindow.hh"

@@ -47,7 +47,7 @@ static char right_bits[] = { 0x03, 0x1f, 0x3f, 0x7f, 0x7f, 0x7f, 0xff, 0xff};

static char bottom_left_bits[] = { 0xff, 0xff, 0xfe, 0xfe, 0xfe, 0xfc, 0xf8, 0xc0 }; static char bottom_right_bits[] = { 0xff, 0xff, 0x7f, 0x7f, 0x7f, 0x3f, 0x1f, 0x03 }; - const int win_width = win.width() + 2*win.borderWidth(); + const int win_width = win.width() + 2*win.borderWidth() + 1; const int win_height = win.height() + 2*win.borderWidth(); const int pixmap_width = min(8, win_width); const int pixmap_height = min(8, win_height);

@@ -170,7 +170,7 @@

XShapeCombineMask(FbTk::App::instance()->display(), m_win->window(), ShapeBounding, - -1, 0, + -2, 0, m_shape, ShapeSet);