Tony Crisci 05f0585817 Dont set input focus and send WM_TAKE_FOCUS
If input focus is set by the window manager, it is not necessary to send
WM_TAKE_FOCUS because it has already taken focus.

http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7

> The goal is to support window managers that want to assign the input
> focus to a top-level window in such a way that the top-level window
> either can assign it to one of its subwindows or can decline the offer
> of the focus. For example, a clock or a text editor with no currently
> open frames might not want to take focus even though the window
> manager generally believes that clients should take the input focus
> after being deiconified or raised.

Both setting input focus and sending WM_TAKE_FOCUS is effectively
setting focus on the window twice which is certainly against the spirit
of the spec, if not the letter.

fixes #1167
2014-04-15 17:46:08 +02:00
2014-01-01 15:06:57 +01:00
2014-01-01 15:06:57 +01:00
2014-03-31 22:53:39 +02:00
2013-12-22 21:52:49 +01:00
2011-08-28 17:44:42 +02:00
2014-01-04 12:20:12 +01:00
2011-08-28 17:44:42 +02:00
2012-04-25 23:06:39 +02:00
2012-12-11 22:45:34 +01:00
2013-08-07 21:04:18 +02:00
2013-12-22 21:12:10 +01:00
Description
No description provided
15 MiB
Languages
C 58.6%
Perl 29%
Raku 9.4%
Ruby 1.2%
Shell 0.7%
Other 1.1%