summaryrefslogtreecommitdiff
path: root/xc/test
diff options
context:
space:
mode:
authorrws <empty>1993-10-17 17:16:02 +0000
committerrws <empty>1993-10-17 17:16:02 +0000
commit7972d4ade2690401bcccdba857f6e42707a66e2b (patch)
treeb54fec27bc3fa1cbeff5f6b718e2b9209177093e /xc/test
parent7aeec49d75fa74e9fe0b3ac636ddd9ae9ba5170e (diff)
sync connection on which request is executed first, so that event
is guaranteed to be received. Otherwise request might not have been executed yet.
Diffstat (limited to 'xc/test')
-rw-r--r--xc/test/xsuite/xtest/tset/CH08/cnfgrrqst/cnfgrrqst.m10
-rw-r--r--xc/test/xsuite/xtest/tset/CH08/crcltrqst/crcltrqst.m6
-rw-r--r--xc/test/xsuite/xtest/tset/CH08/mprqst/mprqst.m6
-rw-r--r--xc/test/xsuite/xtest/tset/CH08/rszrqst/rszrqst.m6
4 files changed, 14 insertions, 14 deletions
diff --git a/xc/test/xsuite/xtest/tset/CH08/cnfgrrqst/cnfgrrqst.m b/xc/test/xsuite/xtest/tset/CH08/cnfgrrqst/cnfgrrqst.m
index 44d28c061..a679f5d34 100644
--- a/xc/test/xsuite/xtest/tset/CH08/cnfgrrqst/cnfgrrqst.m
+++ b/xc/test/xsuite/xtest/tset/CH08/cnfgrrqst/cnfgrrqst.m
@@ -12,7 +12,7 @@
* make no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*
- * $XConsortium$
+ * $XConsortium: cnfgrrqst.m,v 1.9 92/06/11 17:19:35 rws Exp $
*/
>>TITLE ConfigureRequest CH08
>>EXTERN
@@ -131,8 +131,8 @@ unsigned long valuemask;
XSync(client2, True);
XSync(client3, True);
XRaiseWindow(client2, child->window);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Verify that no events were delivered. */
count = XPending(display);
@@ -173,8 +173,8 @@ unsigned long valuemask;
XSync(client2, True);
XSync(client3, True);
XRaiseWindow(client2, child->window);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
@@ -460,8 +460,8 @@ unsigned long valuemask;
values.sibling = sibling->window;
values.stack_mode = Below;
XConfigureWindow(client2, child->window, CWSibling|CWStackMode, &values);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
@@ -666,8 +666,8 @@ unsigned long valuemask;
XSync(client3, True);
child->winhg.border_width += 5;
XSetWindowBorderWidth(client2, child->window, child->winhg.border_width);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
diff --git a/xc/test/xsuite/xtest/tset/CH08/crcltrqst/crcltrqst.m b/xc/test/xsuite/xtest/tset/CH08/crcltrqst/crcltrqst.m
index 2e29060d3..244c86e43 100644
--- a/xc/test/xsuite/xtest/tset/CH08/crcltrqst/crcltrqst.m
+++ b/xc/test/xsuite/xtest/tset/CH08/crcltrqst/crcltrqst.m
@@ -12,7 +12,7 @@
* make no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*
- * $XConsortium$
+ * $XConsortium: crcltrqst.m,v 1.11 92/06/11 17:19:51 rws Exp $
*/
>>TITLE CirculateRequest CH08
>>EXTERN
@@ -139,8 +139,8 @@ unsigned long valuemask;
XSync(client2, True);
XSync(client3, True);
XCirculateSubwindows(client2, parent->window, RaiseLowest);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
@@ -205,8 +205,8 @@ unsigned long valuemask;
XSync(client2, True);
XSync(client3, True);
XCirculateSubwindows(client2, parent->window, LowerHighest);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
diff --git a/xc/test/xsuite/xtest/tset/CH08/mprqst/mprqst.m b/xc/test/xsuite/xtest/tset/CH08/mprqst/mprqst.m
index 178775e69..202a72825 100644
--- a/xc/test/xsuite/xtest/tset/CH08/mprqst/mprqst.m
+++ b/xc/test/xsuite/xtest/tset/CH08/mprqst/mprqst.m
@@ -12,7 +12,7 @@
* make no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*
- * $XConsortium$
+ * $XConsortium: mprqst.m,v 1.8 92/06/11 17:23:09 rws Exp $
*/
>>TITLE MapRequest CH08
>>EXTERN
@@ -131,8 +131,8 @@ unsigned long valuemask;
XSync(client2, True);
XSync(client3, True);
XMapWindow(client2, child->window);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Verify that no events were delivered. */
count = XPending(display);
@@ -173,8 +173,8 @@ unsigned long valuemask;
XSync(client2, True);
XSync(client3, True);
XMapWindow(client2, child->window);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
diff --git a/xc/test/xsuite/xtest/tset/CH08/rszrqst/rszrqst.m b/xc/test/xsuite/xtest/tset/CH08/rszrqst/rszrqst.m
index 365a6cff1..0f768b060 100644
--- a/xc/test/xsuite/xtest/tset/CH08/rszrqst/rszrqst.m
+++ b/xc/test/xsuite/xtest/tset/CH08/rszrqst/rszrqst.m
@@ -12,7 +12,7 @@
* make no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*
- * $XConsortium$
+ * $XConsortium: rszrqst.m,v 1.8 92/06/11 17:24:40 rws Exp $
*/
>>TITLE ResizeRequest CH08
>>EXTERN
@@ -147,8 +147,8 @@ unsigned long valuemask;
child->winhg.area.width += 2;
child->winhg.area.height += 2;
XResizeWindow(client2, child->window, child->winhg.area.width, child->winhg.area.height);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;
@@ -215,8 +215,8 @@ unsigned long valuemask;
lastw->winhg.area.width += 2;
lastw->winhg.area.height += 2;
XResizeWindow(client2, lastw->window, lastw->winhg.area.width, lastw->winhg.area.height);
- XSync(display, False);
XSync(client2, False);
+ XSync(display, False);
XSync(client3, False);
/* Initialize for expected events. */
event.xany.type = EVENT;