|
2009-12-15
, 09:16
|
Posts: 89 |
Thanked: 131 times |
Joined on Oct 2009
|
#22
|
|
2009-12-15
, 15:46
|
Posts: 77 |
Thanked: 63 times |
Joined on Sep 2009
|
#23
|
You don't XSetInputFocus (which is a hack) but rather fix the WM_HINTS, which is the real issue here (and not the window manager). If you want examples please search my posts, qwerty's patch to xev, or the multiple debian bug reports opened about the issue (in apps/toolkits).
Is it not possible to write a tiny utility that will set the WM_HINTS on any arbitrary window? I could use wmctrl to find the window ID of the broken window, and then use this little fixer utility to fix the WM_HINTS on that window... That would be a very very workable solution for me.
The Following 5 Users Say Thank You to qobi For This Useful Post: | ||
|
2009-12-15
, 17:27
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#24
|
|
2009-12-15
, 18:13
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#25
|
|
2009-12-15
, 19:02
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#26
|
gcc qobi-wmhint-fix.c -L/usr/X11R6/bin/ -lX11 -o qobi-wmhint-fix
|
2009-12-15
, 19:17
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#27
|
The Following 5 Users Say Thank You to qole For This Useful Post: | ||
|
2009-12-15
, 21:12
|
Posts: 89 |
Thanked: 131 times |
Joined on Oct 2009
|
#28
|
|
2009-12-15
, 22:49
|
Posts: 77 |
Thanked: 63 times |
Joined on Sep 2009
|
#29
|
Let me just check: this application - when run as 'qobi-wmhint-fix &' will sit in the background and attempt to make sure input is directed to the 'in focus' window.
Am I right?
|
2009-12-15
, 22:57
|
Posts: 89 |
Thanked: 131 times |
Joined on Oct 2009
|
#30
|
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!