aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 634dadd36..9bd8dee16 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -1184,7 +1184,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already
mieqEnqueue(&x);
- CriticalOutputPending = 1;
+ SetCriticalOutputPending();
if (!nxagentOption(ViewOnly) && nxagentOption(Shadow))
{
@@ -1278,7 +1278,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already
mieqEnqueue(&x);
- CriticalOutputPending = 1;
+ SetCriticalOutputPending();
}
if (!nxagentOption(ViewOnly) && nxagentOption(Shadow))
@@ -1352,7 +1352,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already
mieqEnqueue(&x);
- CriticalOutputPending = 1;
+ SetCriticalOutputPending();
}
if (!nxagentOption(ViewOnly) && nxagentOption(Shadow))
@@ -2224,10 +2224,7 @@ FIXME: Don't enqueue the KeyRelease event if the key was not already
* Write the events to our clients. We may flush only in the case of
* critical output but this doesn't seem beneficial.
*
- * if (CriticalOutputPending == 1)
- * {
- * FlushAllOutput();
- * }
+ * FlushIfCriticalOutputPending();
*/
if (NewOutputPending == 1)
@@ -2306,7 +2303,7 @@ int nxagentHandleKeyPress(XEvent *X, enum HandleEventResult *result)
mieqEnqueue(&x);
- CriticalOutputPending = 1;
+ SetCriticalOutputPending();
return 1;
}