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)
- feat: Add some way for awesome.spawn to set G_SPAWN stdio flags. HOT 6
- Browser is stuck maximized HOT 5
- KP_ENTER is ignored in main menu HOT 2
- Missing notification body if asian language characters are mixed with latin characters in summary HOT 2
- awful.key throws error on brightness keys but only when no client is in focus HOT 4
- Rightmost widgit disappears after adding a certain amount
- Menubar Documentation Typo HOT 1
- gaps outside have been implemented? HOT 1
- Icon theme ignored
- Shape function in naughty notification rule passes wierd arguments.
- Terminal breaks visually after suspend HOT 2
- Cannot resize windows with mouse HOT 4
- Multiple panels at top when having a mistake in rc.lua HOT 1
- Multiple windows struck to gether with padding HOT 2
- Hotkeys overwritten by KDE when system wakes up HOT 1
- Notification tray icon issue w/ Indicator Sound Switcher HOT 5
- Attach clients into the stack area when you toggle a new tag into view
- prompt hooks keep making prompt stopped HOT 1
- Focus by hover ignored after layout change to max HOT 1
- Border around Firefox developer tools popup HOT 11
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.