
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This patch adds a "delay focus" feature into the KWin window manager.
When KWin is set for "Focus Follows/Under Mouse" you can now also set a delay between the time when the mouse enters the window and when the window actually gets focus.
I wrote this patch because, previously, having the current application's menu bar at the top of the screen is mostly unusable. If you wanted to access the menu bar, but your mouse went over another window on the way to the top of the screen, the focus would change causing the menubar the change. Setting a delay for the focus lets the cursor make it quickly across other windows without losing focus of the window whose menu you are trying to access.
This patch is written and tested under KDE CVS ~2004-05-09. I quickly ported a patch to apply against KDE 3.2.2, but I have not tested that version.
You will need to patch and rebuild KWin to use this, KWin is part of kdebase.
16 years ago
Per KDE Developer Lubos Lunak's suggestions, I have moved most of the delay focus functions from Client to Workspace and have added an additional cancelDelayFocus() call at Workspace::takeActivity(). The second change prevents the following scenario: mouse enters window, Alt+F2 pops up run prompt, then window with mouse over if becomes active.
This patch has been committed into KDE CVS as of two days ago.
16 years ago
Per KDE Developer Lubos Lunak's suggestions, I have moved most of the delay focus functions from Client to Workspace and have added an additional cancelDelayFocus() call at Workspace::takeActivity(). The second change prevents the following scenario: mouse enters window, Alt+F2 pops up run prompt, then window with mouse over if becomes active.
This patch has been committed into KDE CVS as of two days ago.
benjamincarle2
16 years ago
I have a question: I always used "click to focus"
Can somebody spend 5 minutes to explain me (and other people surely) what is the differnece between
"focus follows mouse"
"focus under mouse"
"focus strictly under mouse"
options ?
thanks
Report
spookster
16 years ago
Report
Superstoned
16 years ago
Report
chucky
16 years ago
Report
Sebien
16 years ago
Now "focus on hover" in usable !!!
Do you will intergate it to KDE 3.3 ?
I hope...
Report
Seli
16 years ago
Report