Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
58cd3574
You need to sign in or sign up before continuing.
Unverified
Commit
58cd3574
authored
Jun 11, 2019
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/drop_nxmiexpose' into 3.6.x
Attributes GH PR #812:
https://github.com/ArcticaProject/nx-libs/pull/812
parents
a2523273
073c6c17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
43 deletions
+4
-43
Imakefile
nx-X11/programs/Xserver/Imakefile
+0
-3
Imakefile
nx-X11/programs/Xserver/hw/nxagent/Imakefile
+0
-2
NXmiexpose.c
nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c
+0
-0
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+0
-19
Imakefile
nx-X11/programs/Xserver/mi/Imakefile
+2
-11
miexpose.c
nx-X11/programs/Xserver/mi/miexpose.c
+2
-8
No files found.
nx-X11/programs/Xserver/Imakefile
View file @
58cd3574
...
@@ -246,7 +246,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
...
@@ -246,7 +246,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
hw/nxagent/NXpicture.o \
hw/nxagent/NXpicture.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXmiexpose.o \
hw/nxagent/NXresource.o \
hw/nxagent/NXresource.o \
hw/nxagent/NXdamage.o \
hw/nxagent/NXdamage.o \
$(NULL)
$(NULL)
...
@@ -264,7 +263,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
...
@@ -264,7 +263,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXxvdisp.o \
hw/nxagent/NXxvdisp.o \
hw/nxagent/NXmiexpose.o \
hw/nxagent/NXresource.o \
hw/nxagent/NXresource.o \
hw/nxagent/NXdamage.o \
hw/nxagent/NXdamage.o \
$(NULL)
$(NULL)
...
@@ -282,7 +280,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
...
@@ -282,7 +280,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXxvdisp.o \
hw/nxagent/NXxvdisp.o \
hw/nxagent/NXmiexpose.o \
hw/nxagent/NXresource.o \
hw/nxagent/NXresource.o \
hw/nxagent/NXdamage.o \
hw/nxagent/NXdamage.o \
dix/main.o \
dix/main.o \
...
...
nx-X11/programs/Xserver/hw/nxagent/Imakefile
View file @
58cd3574
...
@@ -20,7 +20,6 @@ SRCS = \
...
@@ -20,7 +20,6 @@ SRCS = \
NXshm.c \
NXshm.c \
NXglxext.c \
NXglxext.c \
NXxvdisp.c \
NXxvdisp.c \
NXmiexpose.c \
NXresource.c \
NXresource.c \
NXdamage.c \
NXdamage.c \
NXmitrap.c \
NXmitrap.c \
...
@@ -81,7 +80,6 @@ OBJS = \
...
@@ -81,7 +80,6 @@ OBJS = \
NXshm.o \
NXshm.o \
NXglxext.o \
NXglxext.o \
NXxvdisp.o \
NXxvdisp.o \
NXmiexpose.o \
NXresource.o \
NXresource.o \
NXdamage.o \
NXdamage.o \
NXmitrap.o \
NXmitrap.o \
...
...
nx-X11/programs/Xserver/hw/nxagent/NXmiexpose.c
deleted
100644 → 0
View file @
a2523273
This diff is collapsed.
Click to expand it.
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
58cd3574
...
@@ -3484,26 +3484,7 @@ void nxagentSetTopLevelEventMask(WindowPtr pWin)
...
@@ -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
)
void
nxagentFlushConfigureWindow
(
void
)
{
{
ConfiguredWindowStruct
*
index
;
ConfiguredWindowStruct
*
index
;
...
...
nx-X11/programs/Xserver/mi/Imakefile
View file @
58cd3574
...
@@ -39,15 +39,6 @@ FFS_DEFINES = -DHAS_FFS
...
@@ -39,15 +39,6 @@ FFS_DEFINES = -DHAS_FFS
MIINITEXTSRC = miinitext.c
MIINITEXTSRC = miinitext.c
MIINITEXTOBJ = miinitext.o
MIINITEXTOBJ = miinitext.o
#if (!(defined(NXAgentServer) && NXAgentServer))
NXAGENT_SKIP_SRCS = \
miexpose.c \
$(NULL)
NXAGENT_SKIP_OBJS = \
miexpose.o \
$(NULL)
#endif
SRCS = $(CBRT_SRC) \
SRCS = $(CBRT_SRC) \
mivaltree.c \
mivaltree.c \
mipolyseg.c \
mipolyseg.c \
...
@@ -83,7 +74,7 @@ SRCS = $(CBRT_SRC) \
...
@@ -83,7 +74,7 @@ SRCS = $(CBRT_SRC) \
migc.c \
migc.c \
micmap.c \
micmap.c \
mioverlay.c \
mioverlay.c \
$(NXAGENT_SKIP_SRCS)
\
miexpose.c
\
$(NULL)
$(NULL)
OBJS = $(CBRT_OBJ) \
OBJS = $(CBRT_OBJ) \
...
@@ -121,7 +112,7 @@ OBJS = $(CBRT_OBJ) \
...
@@ -121,7 +112,7 @@ OBJS = $(CBRT_OBJ) \
migc.o \
migc.o \
micmap.o \
micmap.o \
mioverlay.o \
mioverlay.o \
$(NXAGENT_SKIP_OBJS)
\
miexpose.o
\
$(NULL)
$(NULL)
#if defined(XorgVersion)
#if defined(XorgVersion)
...
...
nx-X11/programs/Xserver/mi/miexpose.c
View file @
58cd3574
...
@@ -126,7 +126,6 @@ exposing is done by the backing store's GraphicsExpose function, of course.
...
@@ -126,7 +126,6 @@ exposing is done by the backing store's GraphicsExpose function, of course.
*/
*/
#ifndef NXAGENT_SERVER
RegionPtr
RegionPtr
miHandleExposures
(
pSrcDrawable
,
pDstDrawable
,
miHandleExposures
(
pSrcDrawable
,
pDstDrawable
,
pGC
,
srcx
,
srcy
,
width
,
height
,
dstx
,
dsty
,
plane
)
pGC
,
srcx
,
srcy
,
width
,
height
,
dstx
,
dsty
,
plane
)
...
@@ -373,7 +372,6 @@ miHandleExposures(pSrcDrawable, pDstDrawable,
...
@@ -373,7 +372,6 @@ miHandleExposures(pSrcDrawable, pDstDrawable,
return
NULL
;
return
NULL
;
}
}
}
}
#endif
/* send GraphicsExpose events, or a NoExpose event, based on the region */
/* send GraphicsExpose events, or a NoExpose event, based on the region */
...
@@ -491,7 +489,6 @@ miSendExposures(pWin, pRgn, dx, dy)
...
@@ -491,7 +489,6 @@ miSendExposures(pWin, pRgn, dx, dy)
free
(
pEvent
);
free
(
pEvent
);
}
}
#ifndef NXAGENT_SERVER
void
void
miWindowExposures
(
pWin
,
prgn
,
other_exposed
)
miWindowExposures
(
pWin
,
prgn
,
other_exposed
)
WindowPtr
pWin
;
WindowPtr
pWin
;
...
@@ -580,7 +577,6 @@ miWindowExposures(pWin, prgn, other_exposed)
...
@@ -580,7 +577,6 @@ miWindowExposures(pWin, prgn, other_exposed)
else
if
(
exposures
&&
exposures
!=
prgn
)
else
if
(
exposures
&&
exposures
!=
prgn
)
RegionDestroy
(
exposures
);
RegionDestroy
(
exposures
);
}
}
#endif
/*
/*
this code is highly unlikely. it is not haile selassie.
this code is highly unlikely. it is not haile selassie.
...
@@ -628,7 +624,6 @@ tossGC (
...
@@ -628,7 +624,6 @@ tossGC (
return
0
;
return
0
;
}
}
#ifndef NXAGENT_SERVER
void
void
miPaintWindow
(
pWin
,
prgn
,
what
)
miPaintWindow
(
pWin
,
prgn
,
what
)
register
WindowPtr
pWin
;
register
WindowPtr
pWin
;
...
@@ -654,8 +649,8 @@ int what;
...
@@ -654,8 +649,8 @@ int what;
ChangeGCVal
newValues
[
COUNT_BITS
]
=
{{
0
}};
ChangeGCVal
newValues
[
COUNT_BITS
]
=
{{
0
}};
BITS32
gcmask
,
index
,
mask
;
BITS32
gcmask
,
index
,
mask
;
RegionRec
prgnWin
;
RegionRec
prgnWin
=
{
0
}
;
DDXPointRec
oldCorner
;
DDXPointRec
oldCorner
=
{
0
}
;
BoxRec
box
=
{
0
};
BoxRec
box
=
{
0
};
WindowPtr
pBgWin
;
WindowPtr
pBgWin
;
GCPtr
pGC
;
GCPtr
pGC
;
...
@@ -883,7 +878,6 @@ int what;
...
@@ -883,7 +878,6 @@ int what;
FreeScratchGC
(
pGC
);
FreeScratchGC
(
pGC
);
}
}
}
}
#endif
/* MICLEARDRAWABLE -- sets the entire drawable to the background color of
/* MICLEARDRAWABLE -- sets the entire drawable to the background color of
* the GC. Useful when we have a scratch drawable and need to initialize
* the GC. Useful when we have a scratch drawable and need to initialize
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment