diff options
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c b/nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c index 146ecad75..c4ff88c5d 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c @@ -142,20 +142,7 @@ miWindowExposures(pWin, prgn, other_exposed) } exposures = other_exposed; } - -#ifdef NXAGENT_SERVER - /* - * If the number of rectangles is greater - * than 4, let the function decide. - */ - - int total = RegionNumRects(exposures); - - if (clientInterested && exposures && (total > RECTLIMIT || - (total > 4 && nxagentExtentsPredicate(total) == 1))) - #else - if (clientInterested && exposures && (RegionNumRects(exposures) > RECTLIMIT)) - #endif + if (clientInterested && exposures && (RegionNumRects(exposures) > RECTLIMIT)) { /* * If we have LOTS of rectangles, we decide to take the extents |