projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
025822e
)
Apply combined shape mask correctly
author
Mikael Magnusson
<mikachu@gmail.com>
Sun, 2 Apr 2017 17:20:23 +0000
(19:20 +0200)
committer
Mikael Magnusson
<mikachu@gmail.com>
Sun, 2 Apr 2017 17:20:33 +0000
(19:20 +0200)
This only broke windows that use ShapeInput and don't hide
their window decorations, which is a fairly small set.
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index
8966972
..
fecac58
100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-318,7
+318,7
@@
void frame_adjust_shape_kind(ObFrame *self, int kind)
}
XShapeCombineRectangles(obt_display, self->window,
}
XShapeCombineRectangles(obt_display, self->window,
-
ShapeBounding
, 0, 0, xrect, num,
+
kind
, 0, 0, xrect, num,
ShapeUnion, Unsorted);
}
}
ShapeUnion, Unsorted);
}
}