]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xterm.c (x_sync_init_fences): Fix number of fences announced.
authorPo Lu <luangruo@yahoo.com>
Thu, 4 Aug 2022 11:53:45 +0000 (19:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 4 Aug 2022 11:58:22 +0000 (19:58 +0800)
src/xterm.c

index 33e90603f80c75ffce53741c8387601a9f570a12..2a453099ee79eb052624b3518ae336a320c1bb30 100644 (file)
@@ -6875,7 +6875,7 @@ x_sync_init_fences (struct frame *f)
   XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f),
                   dpyinfo->Xatom_net_wm_sync_fences, XA_CARDINAL,
                   32, PropModeReplace,
-                  (unsigned char *) &output->sync_fences, 1);
+                  (unsigned char *) &output->sync_fences, 2);
 }
 
 static void