9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Stuart Morrow <morrow.stuart@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] PATCH: click-to-focus in fgui
Date: Sat, 14 Aug 2021 16:03:40 +0100	[thread overview]
Message-ID: <CABB-WO-5wH2Ww8xuyfv7jEZeMupXwfOar4gv6yjoTicAb3SXBg@mail.gmail.com> (raw)
In-Reply-To: <75BF85F8A6239E95E93770172F1E58A9@wopr.sciops.net>

On 14/08/2021, qwx <qwx@sciops.net> wrote:
> Personally, I welcome any experiments.

I don't want to be the one to kick off one of "these" threads, but...
what if that mouse clipping notion could be generalised to rectangles
OUTSIDE of the window as well as inside, for instance the entire
screen, so that

1. lens(1) has a way to tell rio that it needs to do what it needs to do
2. a program can warp the mouse in riostart instead of in profile
which is where I currently do it.

Number 1 would solve what is basically a design flaw.  (Plus, you have
access to more information in riostart than in profile  - e.g. can
calculate the barycentre of all windows ...I wouldn't use this.)

As long as we're accepting that programs can do this, then why not
further say that the window manager can (by the same mechanism) ask to
see that the mouse goes outside of the entire SCREEN (as in, negative
coordinates if it's above or to the left of the screen)?

Then you could do the thing Windows 7 does where if the current window
is partly off-screen, you can bring it back by pushing against the
edge. Useless, except that it would give you a way to do PaperWM with
just the mouse.

I was never really pro-that patch before because I thought it didn't
actually do anything for you.

  reply	other threads:[~2021-08-14 15:58 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09 22:59 Silas McCroskey
2021-08-10 14:19 ` ori
2021-08-11  5:28   ` rgl
2021-08-11 20:49     ` Philip Silva
2021-08-11 21:09       ` Steve Simon
2021-08-11 22:37       ` Xiao-Yong Jin
2021-08-12  9:05         ` hiro
2021-08-12 14:36           ` Eckard Brauer
2021-08-13  6:44             ` unobe
2021-08-13  7:10               ` hiro
2021-08-14 10:20                 ` Eckard Brauer
2021-08-14 13:09                   ` qwx
2021-08-14 15:03                     ` Stuart Morrow [this message]
2021-08-14 13:17                   ` José Miguel Sánchez García
2021-08-14 20:57                     ` Patch-keeping (Was Re: [9front] PATCH: click-to-focus in fgui) unobe
2021-08-14 15:04                   ` [9front] PATCH: click-to-focus in fgui Stuart Morrow
2021-08-14 18:08                   ` hiro
2021-08-14 21:43                     ` unobe
2021-08-15  6:47                       ` hiro
2021-08-14 21:46                   ` unobe
2021-08-15 13:36                     ` Eckard Brauer
2021-08-15 19:16                       ` hiro
2021-08-15 17:31                   ` kvik
2021-08-15 18:34                     ` Kurt H Maier
2021-08-15 18:48                     ` Stanley Lieber
2021-08-15 20:18                       ` Eckard Brauer
2021-08-15 22:35                         ` Stanley Lieber
2021-08-16  5:14                           ` Stanley Lieber
2021-08-16 15:46                             ` Skylar Bleed
2021-08-15 19:03                     ` hiro
2021-08-16 16:40                       ` kvik
2021-08-16 19:25                         ` Stuart Morrow
2021-08-16 19:40                           ` Kurt H Maier
2021-08-17  2:05                             ` Stanley Lieber
2021-08-16 20:04                         ` hiro
2021-08-16 20:13                         ` hiro
2021-08-17  1:10                           ` Xiao-Yong Jin
2021-08-17  8:11                             ` hiro
2021-08-12  0:12       ` hiro
2021-08-15  4:29       ` ori
2021-08-16 19:40 ` ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABB-WO-5wH2Ww8xuyfv7jEZeMupXwfOar4gv6yjoTicAb3SXBg@mail.gmail.com \
    --to=morrow.stuart@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).