aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Window.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 12:10:25 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 12:10:25 +0200
commit58cd35745086567b5b1fa0fc7a295e849ac070ce (patch)
treef863d6b3a576dcb2ad2df58b4f9f1fc20f6377e1 /nx-X11/programs/Xserver/hw/nxagent/Window.c
parenta2523273485c6a3c9c598a2088bcea354815db81 (diff)
parent073c6c17e768cf61a879cb100f5ad2cb16703518 (diff)
downloadnx-libs-58cd35745086567b5b1fa0fc7a295e849ac070ce.tar.gz
nx-libs-58cd35745086567b5b1fa0fc7a295e849ac070ce.tar.bz2
nx-libs-58cd35745086567b5b1fa0fc7a295e849ac070ce.zip
Merge branch 'uli42-pr/drop_nxmiexpose' into 3.6.x
Attributes GH PR #812: https://github.com/ArcticaProject/nx-libs/pull/812
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index c5c533934..8307c3de4 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -3484,26 +3484,7 @@ void nxagentSetTopLevelEventMask(WindowPtr pWin)
}
/*
- * This function must return 1 if we want the
- * exposures to be sent as the window's extents.
- * This is actually a harmless, but useful hack,
- * as it speeds up the window redraws considera-
- * bly, when using a very popular WM theme.
*/
-
-int nxagentExtentsPredicate(int total)
-{
- #ifdef TEST
- if (total == 6 || total == 11 || total == 10)
- {
- fprintf(stderr, "nxagentExtentsPredicate: WARNING! Returning [%d] with [%d] rectangles.\n",
- (total == 6 || total == 11 || total == 10), total);
- }
- #endif
-
- return (total == 6 || total == 11 || total == 10);
-}
-
void nxagentFlushConfigureWindow(void)
{
ConfiguredWindowStruct *index;