Comments (9)
This should be covered by the sloppy focus handler.
Which version of awesome are you using?
It seems like when minimizing a client, the mouse::enter
signal gets sent with the to-be-minimized client, which changed in 3aeac38 (awesome master, added in January).
/cc @psychon
from awesome.
Version 3.4.15 (Ubuntu 14.04 LTS)
Sounds like this has been remedied since 3.4.15? Excellent!
from awesome.
Oh, that's an old version - caused by awesome not being updated in Debian for a while.
Unfortunately I don't believe that it's been fixed in the meantime, or it has been (improved), but then regressed again.
I believed that you were using the latest release or Git and were affected by 3aeac38 maybe.
from awesome.
Just checked this again.
With awesome master, there's (still) no mouse::enter
event when minimizing a client.
Then it falls back to the autofocus module/handler, which sends the request::activate
signal for the last focused window.
I've tried using awful.mouse.client_under_pointer()
with the following in a custom request::activate handler, but it seems like this returns the old (to-be-minimized) client:
if context == "autofocus.check_focus" then
c = awful.mouse.client_under_pointer() or c
end
from awesome.
Not having a mouse::enter
on minimize is by design, although I can't really say why. If you want to get around it, open banning.c
and remove the call to client_ignore_enterleave_events()
. Then all bannings (hiding a client e.g. due to tag switch or unminimize) and unbannings (showing a client for the same reasons) will cause mouse events. I bet that this is not appropriate to have in general, but I don't really know why.
from awesome.
I see. Thanks for explaining it!
582c4a7 seems to explain it, but is not too confident about it either.
from awesome.
As I understand this, the issue was fixed. Closing, but feel free to reopen if I am wrong.
from awesome.
Hi, I'm not aware that this behavior has changed. In fact it is still the behavior in my build of Awesome:
awesome v3.5.9 (Mighty Ravendark)
• Build: Mar 12 2016 01:11:40 for x86_64 by gcc version 5.3.0 (builduser@rw)
• Compiled against Lua 5.3.2 (running with Lua 5.3)
• D-Bus support: ✔
I believe this is still an outstanding bug in focus handling; should I re-open or start a new Issue? I'm happy to provide additional information as needed. The bug makes my typical workflow of "minimize several windows consecutively" not work very well since I can't follow the focus.
from awesome.
@EmbeddedLinuxGuy Hello. Please try again with the current git version of Awesome before filling a new issue. Non trivial bug fixes and behavior breaking changes are not backported into the 3.5 branch anymore and will go into 3.6 (when it's ready)
from awesome.
Related Issues (20)
- Focus by hover ignored after layout change to max HOT 1
- Border around Firefox developer tools popup HOT 11
- awesomeWM workspaces and skippy-xd HOT 3
- `urgent = false` not working HOT 3
- BUG: `gears.timer {call_now=true}` doesn't pass `self` (`ret`) HOT 1
- Incorrect completion_callback usage example
- Errors returned with luajit but not lua 5.4 HOT 2
- Mouse events ignored by application only when managed by Awesome
- Lgi FFI error on startup HOT 1
- Multiple definition error while compiling on a 32bit machine. HOT 1
- GTK theme breaks if user's locale uses commas instead of dots as decimal separators HOT 11
- How to make new notifications update to existing notifications? HOT 2
- workaround for pystray python tray icon programs HOT 2
- Shell environment not correct while using `awful.spawn_with_shell`? HOT 4
- Stdout not working correctly for awful.spawn.with_line_callback but stderr does HOT 4
- awesomewm freezes occasionally with E: awesome: Failed to load 'userdata: (nil)' HOT 2
- Bluetooth pin accept notification doesn't appear with naughty. HOT 3
- codecov pipeline not responding in PRs HOT 9
- Error while trying to install awesome HOT 3
- What about monthly or quarterly release strategy for minor versions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome.