gri3-wm/testcases
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
..
lib Fix t/158-wm_take_focus, it was not properly verifying events (Thanks TonyC) 2014-04-09 21:47:32 +02:00
t Dont set input focus and send WM_TAKE_FOCUS 2014-04-15 17:46:08 +02:00
.gitignore Add `.clang_complete` and `Xdummy.so` to gitignore 2013-10-23 23:24:04 +02:00
Makefile.PL Testcases: Use AnyEvent::I3 version 0.15 2013-10-19 10:06:08 +02:00
Xdummy add Xdummy script to start a headless X11 server 2011-07-25 15:37:46 +02:00
complete-run.pl Testcases: remove "latest" if it is a symbolic link 2013-10-19 10:05:33 +02:00
i3-test.config tests: make t/65-for-window.t use separate i3 instances 2011-08-02 19:21:09 +02:00
new-test Remove pointer warp from test boilerplate 2013-12-10 21:52:50 +01:00
restart-state.golden tests: implement restart testing (actual option still missing) 2011-12-21 23:15:30 +00:00
valgrind.supp Add valgrind suppression file to testcases 2014-03-10 17:37:41 +01:00