The Following User Says Thank You to qobi For This Useful Post: | ||
|
2009-12-14
, 05:25
|
Posts: 55 |
Thanked: 72 times |
Joined on Nov 2009
|
#12
|
|
2009-12-14
, 05:32
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#13
|
|
2009-12-14
, 06:09
|
Posts: 77 |
Thanked: 63 times |
Joined on Sep 2009
|
#14
|
For the specific case of Emacs, note that emacs23-gtk seems to work just fine.
|
2009-12-14
, 06:55
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#15
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2009-12-14
, 17:15
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#16
|
tbh I think that this issue is not exactly one of the biggest anoyances when using non-hildon apps under the Maemo WM...
Instead of a daemon, I'd think of a LD_PRELOAD library that handles XMapWindow.
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-12-14
, 22:20
|
Posts: 77 |
Thanked: 63 times |
Joined on Sep 2009
|
#17
|
tbh I think that this issue is not exactly one of the biggest anoyances when using non-hildon apps under the Maemo WM...
|
2009-12-14
, 23:04
|
Posts: 89 |
Thanked: 131 times |
Joined on Oct 2009
|
#18
|
|
2009-12-14
, 23:13
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#19
|
|
2009-12-14
, 23:44
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#20
|
Except that you need to reissue XSetInputFocus each time a window is reexposed after being iconified/minimized.
The Following 2 Users Say Thank You to javispedro For This Useful Post: | ||
don't know, I haven't read the spec) it definitely is the case that many very
long-standing programs are broken by this so it was not a good idea. It is
important to adhere to informal accepted practises as well as formal standards.
I understand that Nokia did this for reasonable engineering reasons. It saves
power on mobile devices. And apparently they felt that the majority of users
would use apps specifically designed and compiled for the device. But there is
a large community of users who have been using the 770, N800, and N810 as a
Linux computer and wish to continue using the N900 and future devices as such
running standard Linux/Unix apps either ported to run natively in maemo, run
in a chroot, or run remotely over X. And it is not reasonable to modify and
recompile the huge base of Linux/Unix code to be compatible with the N900.
I hope Nokia patches this, at least to make it a user-configurable option. In
the short term, I almost have working a workaround, a shell script that runs
in the background, detecting when windows get exposed and calling
XSetInputFocus() on them. It works but is currently power hungry and specific
to emacs. I'm working on making it more power efficient and more general. I'll
post it when I'm done.