Skip to content
Snippets Groups Projects
Commit c0d64235 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Still check for shaded.

(Old svn revision: 22250)
parent 8da485c0
No related branches found
No related tags found
No related merge requests found
...@@ -541,8 +541,11 @@ frameSetShape (Client * c, int state, ClientPixmapCache * pm_cache, int button_x ...@@ -541,8 +541,11 @@ frameSetShape (Client * c, int state, ClientPixmapCache * pm_cache, int button_x
temp = XCreateSimpleWindow (display_info->dpy, c->frame, 0, 0, frameWidth (c), frameHeight (c), 0, 0, 0); temp = XCreateSimpleWindow (display_info->dpy, c->frame, 0, 0, frameWidth (c), frameHeight (c), 0, 0, 0);
if (!FLAG_TEST (c->flags, CLIENT_FLAG_SHADED))
{
XShapeCombineShape (display_info->dpy, temp, ShapeBounding, frameLeft (c), XShapeCombineShape (display_info->dpy, temp, ShapeBounding, frameLeft (c),
frameTop (c), c->window, ShapeBounding, ShapeSet); frameTop (c), c->window, ShapeBounding, ShapeSet);
}
if (pm_cache) if (pm_cache)
{ {
XShapeCombineMask (display_info->dpy, MYWINDOW_XWINDOW (c->title), ShapeBounding, XShapeCombineMask (display_info->dpy, MYWINDOW_XWINDOW (c->title), ShapeBounding,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment