Comments (2)
For anyone interested, I created this python script that implements mouse-follows-focus using Xlib: https://github.com/setzer22/mouse-follows-focus/blob/master/mouse-follows-focus.py
The script works well with focus-follows-mouse, because the mouse won't be warped if it's already inside the currently focused window, so it will only move when using the keyboard to change focus. I'm using this with kwin-tiling and works flawlessly!
from kwin-tiling.
Well, KWin currently doesn't export the mouse position to scripts at all (which also makes for some issues with FFM focussing the wrong window after closing another), and mgraesslin (KWin maintainer) is notoriously against pointer warping, so I doubt he'll add the ability to set the pointer to the api (getting will presumably be enabled in a future version).
This could also be done (if the API became available) in another script.
from kwin-tiling.
Related Issues (20)
- Window gap HOT 3
- Window class exclude rule issue HOT 1
- Set the floating window to the center of screen HOT 3
- Move to closest free desktop HOT 1
- Gnome programs resize all tiled windows HOT 2
- [Feature request] Show an indicator when the i3 layout is changed
- [Feature Request] Enable floating for spesific application HOT 4
- The support for activities failed HOT 2
- upon using 'plasmapkg2 --type kwinscript -i' terminal spits out 'kpackagetool5: Missing value after '-i'.' HOT 1
- tiling does not work correctly on fedora 35 HOT 3
- registerShortcut not working? HOT 1
- Weird behaviour with Thunderbird 91.5 HOT 1
- Unable to open Settings dialog (after KDE Plasma 5.24 ) HOT 2
- Ghost windows taking up space HOT 4
- Move window to another screen is not working HOT 3
- Ulauncher floats but causes shift in other tiled windows on screen HOT 1
- Application Window visible after start when it should be in tray only HOT 1
- Windows not spawned in tiling mode by default HOT 4
- Add 3x2 style grid please. HOT 2
- A plasmoid to toggle on/off kwin-scripts HOT 2
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 kwin-tiling.