From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by sourceware.org (Postfix) with ESMTPS id 60D883857807 for ; Thu, 15 Oct 2020 19:32:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 60D883857807 Received: by mail-il1-x12a.google.com with SMTP id p9so5968044ilr.1 for ; Thu, 15 Oct 2020 12:32:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NN+hsTdMtGQQN4Tk+ZKtdwMJjePQTrrYUlQMbqCfVTI=; b=bL3LQcWNiEbUCANHOWDWvP6Nw8j6u8rIasw5Q/bMUSSjNJD+DTZJXEvBAPYiSTci/V Boo1QXW0F8XevU9pr5f/MqedbZDCPYyXFKhaemdCO5TbnvS8pNWHh0RE9ZhwNLah3sj5 uznXojJwJvIQ73tTKNS28N6ybGIsp2hku7js6ZeouI7PzajQeqoxEIas6djjtSFc5Mec U6R91gvRSjy60jV2PiWfWwjnoiyud9DHICtASR9HgCIiCb5V8u1KdzFhi4XwOybwW1Z8 qBovEXpraTnJDM+CJcYo8rL2Us9JsowcHDSjy+Jd0+yBbFMdKWPvEfj42RbQiKwPwRzt M5IQ== X-Gm-Message-State: AOAM530d7rJBqHCsQqAlN/bVZjP5IKxpOTvPepBUJ6YaMoDLxIVDVOJj ZkU5Wl5WfrNGK1wpAwODciqGLdswXHLY7vPLzU0XkUg1Nj23XQ== X-Google-Smtp-Source: ABdhPJzo4nG6QXVv4Uso3qlyJ8B/UMfyTmscaEIkuUTALpRmHNst19taehSNPRqa2OTJiRTOXf9LD2CHOalL0/Ty/dU= X-Received: by 2002:a92:c7c1:: with SMTP id g1mr104444ilk.101.1602790325459; Thu, 15 Oct 2020 12:32:05 -0700 (PDT) MIME-Version: 1.0 From: Frank Eske Date: Thu, 15 Oct 2020 15:31:55 -0400 Message-ID: Subject: Cygwin X server accepts xfixes version 5.0 but doesn't handle xcb_xfixes_hide_cursor To: cygwin@cygwin.com X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_KAM_HTML_FONT_INVALID autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2020 19:32:07 -0000 I'm building an XCB-based application that uses xcb_xfixes_hide_cursor. The X server reports back version 5.0 in xcb_fixes_query_version_reply and accepts xcb_xfixes_hide_cursor requests, but does not hide the cursor. When omitting the xcb_fixes_query_version operation, the xcb_xfixes_hide_cursor is (properly) rejected. Compiling and running the same program under Fedora, the cursor is hidden when running natively. When running an ssh remote xterm to Fedora, the hide_cursor again does nothing. The associated X11/extensions/Xfixes.h XFixesHideCursor() works identically. It fails to do anything but does not report any error indication. When testing this on Fedora, I also noticed that xterm hides the cursor in exactly the same manner I want for my application, and doesn't on Cygwin (where it always remains visible.) That is, typing hides the cursor and cursor movement shows it again. This should eliminate the need for a test case which, because of all the ancillary setup needed, would be quite large. Possibly the simplest fix would be to properly report back the version of Xfixes you actually support, document that restriction at least in the include file, and reject the Xfixes extension requests you don't handle. As an aside, almost every other X feature I've tried to use has worked identically on Cygwin and Fedora, usage bugs included. Note that there is probably a work-around for this missing function by creating a blank cursor and using that instead of hide_cursor.