![]() |
2009-12-13
, 03:15
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#2
|
![]() |
2009-12-13
, 03:16
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#3
|
The Following 3 Users Say Thank You to qole For This Useful Post: | ||
![]() |
2009-12-13
, 03:28
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#4
|
according to the ICCCM, the XSetInputFocus() should be optional for non-modal windows see also http://mail.gnome.org/archives/wm-sp.../msg00001.html
seems like the Maemo5 WM is broken in that regard and always needs an explicit XSetInputFocus() call.
I didn't know about that kind of commentTypical that teams don't ask the WM maintainer (me) about it.
Actually the N900 is not a desktop PC, as you might have noticed, so we have a bit different focus logic. We avoid setting focus to windows unless they specifically request it, this is to avoid needless wake-ups in processes (and thus power consumption and often window drawing). It works surprisingly well (except for xev maybe).
![]() |
2009-12-13
, 04:03
|
Posts: 77 |
Thanked: 63 times |
Joined on Sep 2009
|
#5
|
![]() |
2009-12-13
, 05:31
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#6
|
![]() |
2009-12-13
, 05:34
|
Posts: 77 |
Thanked: 63 times |
Joined on Sep 2009
|
#7
|
r
is it possible to make a general wrapper app that you can give a window id and have it call XSetInputFocus for that window?
![]() |
2009-12-13
, 13:49
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#8
|
Yeah, the Maemo 5 window manager is "broken". It requires all apps to do an explicit XSetInputFocus().
![]() |
2009-12-13
, 20:27
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#9
|
The Following 2 Users Say Thank You to qole For This Useful Post: | ||
![]() |
2009-12-13
, 20:33
|
Posts: 262 |
Thanked: 232 times |
Joined on Aug 2009
|
#10
|
keyboard input focus. This happens two different ways:
- running emacs23-lucid in a Debian sid chroot
- running a remote emacs23-lucid on Debian lenny via ssh in maemo5
Any ideas on how to fix this? (I do both of these under maemo4 on an N810
without problem.)
Thanks,
Jeff (http://www.ece.purdue.edu/~qobi)