From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David PONCE" Newsgroups: gmane.emacs.devel,gmane.spam.detected Subject: Re: mouse cursor on MS-Windows. (revisited) Date: Wed, 04 Dec 2002 13:06:57 +0100 (MET) Sender: emacs-devel-admin@gnu.org Message-ID: <10613.9270742007$1039003837@news.gmane.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1039003837 3211 80.91.224.249 (4 Dec 2002 12:10:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2002 12:10:37 +0000 (UTC) Cc: "emacs-devel" Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18JYMN-0000pe-00 for ; Wed, 04 Dec 2002 13:10:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18JYWL-0005o2-00 for ; Wed, 04 Dec 2002 13:20:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JYJy-00007z-00; Wed, 04 Dec 2002 07:08:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18JYJ4-00081W-00 for emacs-devel@gnu.org; Wed, 04 Dec 2002 07:07:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18JYIz-0007yu-00 for emacs-devel@gnu.org; Wed, 04 Dec 2002 07:07:08 -0500 Original-Received: from smtp-out-2.wanadoo.fr ([193.252.19.254] helo=mel-rto2.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JYIv-0007tf-00; Wed, 04 Dec 2002 07:07:01 -0500 Original-Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto2.wanadoo.fr (6.5.007) id 3DDA11D8009E435D; Wed, 4 Dec 2002 13:06:57 +0100 Original-Received: from mail-web7 (193.252.19.75) by mel-rta9.wanadoo.fr (6.5.007) id 3DD3EB7600A9C1CF; Wed, 4 Dec 2002 13:06:57 +0100 Original-Received: from '' by www.wanadoo.fr with HTTP; Original-To: Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: X-Spam-Report: 7.4 hits, 5 required; * 4.0 -- 'Message-Id' was added by a relay * 1.8 -- Message-Id is not valid, according to RFC-2822 * 1.6 -- 'Message-Id' was added by a relay (2) Xref: main.gmane.org gmane.emacs.devel:9857 gmane.spam.detected:65106 X-Report-Unspam: http://unspam.gmane.org/gmane.emacs.devel:9857 Hi Richard, > The patch is big enough to need legal papers. How many lines did you > write, and how many are left from kobayays@otsukakj.co.jp=3F KOBAYASHI gave the original implementation idea (thanks!). I had to change most of his code to improve it (I hope it is ;-) Probably the main part of his original patch I left untouched correspond to the following diff from w32term.c: 6587a6589 > Cursor cursor =3D 0; 6643c6645 < #if 0 /* TODO: mouse cursor */ --- > 6645c6647 < cursor =3D f->output_data.x->horizontal_drag_cursor; --- > cursor =3D f->output_data.w32->horizontal_drag_cursor; 6647,6648c6649,6650 < cursor =3D f->output_data.x->text_cursor; < #endif --- > cursor =3D f->output_data.w32->text_cursor; > 6676c6678 < =09 /* TODO: mouse cursor */ --- > =09 cursor =3D f->output_data.w32->nontext_cursor; 6731,6732c6733,6734 < /* TODO: if (same_region) < =09 mouse cursor */ --- > if (same_region) > =09cursor =3D 0; 6762,6763c6764,6765 < =09 clear_mouse_face (dpyinfo); < =09 /* TODO: mouse cursor changes. */ --- > =09 if (clear_mouse_face (dpyinfo)) > =09 cursor =3D 0; 6801c6803 < =09 /* TODO: mouse cursor changes. */ --- > =09 cursor =3D 0; 6844c6846 < =09 /* TODO: mouse cursor changes. */ --- > =09 cursor =3D 0; 6876c6878 < =09 /* TODO: mouse cursor changes. */ --- > =09 cursor =3D 0; 6924c6926 < =09=09 /* TODO: mouse cursor changes. */ --- > =09=09 cursor =3D 0; 7004,7005c7006,7007 < /* TODO: mouse cursor changes. */ < ; ---