NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xsrc/58979: twm vs. firefox: menus unusable
The following reply was made to PR xsrc/58979; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: xsrc/58979: twm vs. firefox: menus unusable
Date: Sat, 11 Jan 2025 08:18:30 +0000 (UTC)
On Fri, 10 Jan 2025, Thomas Klausner wrote:
> The problem is that when running firefox in twm (and, I'm told but
> haven't tried, vtwm), the menus (e.g. File, but also in the firefox
> toolbar) do not stay open when the cursor leaves the position where it
> was when it opened them - which makes it impossible to use the menus,
> because you can't click on the menu entries, since they disappear when
> you move their way.
>
Can you try this patch:
```
diff -urN a/xsrc/external/mit/twm/dist/src/events.c b/xsrc/external/mit/twm/dist/src/events.c
--- a/xsrc/external/mit/twm/dist/src/events.c 2022-07-11 09:08:07.000000000 +0000
+++ b/xsrc/external/mit/twm/dist/src/events.c 2025-01-11 08:14:11.283414703 +0000
@@ -2185,7 +2185,9 @@
}
if (Scr->FocusRoot) {
- if (Event.xcrossing.detail != NotifyInferior) {
+ if (Event.xcrossing.detail != NotifyInferior &&
+ Event.xcrossing.detail != NotifyVirtual &&
+ Event.xcrossing.detail != NotifyNonlinearVirtual) {
/*
* Scan for EnterNotify events to see if we can avoid some
```
-RVP
Home |
Main Index |
Thread Index |
Old Index