[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Fix clipping w/out OpenGL
noreply at xfce.org
noreply at xfce.org
Mon Apr 27 22:20:25 CEST 2015
This is an automated email from the git hooks/post-receive script.
olivier pushed a commit to branch master
in repository xfce/xfwm4.
commit 5eb0769b8fcda3d402746f66acec59c3be16de4f
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Mon Apr 27 22:17:52 2015 +0200
compositor: Fix clipping w/out OpenGL
Bug: 11861
That might with the performance regression reported when GL is not
available.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/compositor.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 066fb1b..c43d2a0 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1995,20 +1995,19 @@ paint_all (ScreenInfo *screen_info, XserverRegion region, gushort buffer)
}
TRACE ("Copying data back to screen");
+ /* Set clipping back to the given region */
+ XFixesSetPictureClipRegion (dpy, screen_info->rootBuffer[buffer],
+ 0, 0, region);
if (screen_info->use_glx)
{
- /* Set clipping back to the given region */
if (screen_info->zoomed)
{
- paint_cursor (screen_info, region, screen_info->rootBuffer[buffer]);
+ paint_cursor (screen_info, region,
+ screen_info->rootBuffer[buffer]);
}
- XFixesSetPictureClipRegion (dpy, screen_info->rootBuffer[buffer],
- 0, 0, region);
}
else
{
- XFixesSetPictureClipRegion (dpy, screen_info->rootBuffer[buffer],
- 0, 0, None);
if (screen_info->zoomed)
{
paint_cursor (screen_info, region, paint_buffer);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list