gri3-wm/include
Michael Stapelberg 3721bcb868 Bugfix: Ignore EnterNotifies generated by UnmapNotifies
Actually, commit 1c5adc6c35 commented out code
without ever fixing it. I think this was responsible for the 'workspace
switching sometimes does not work' bug. My observations:

Had it again today and analyzed a log of it. Looks like after unmapping the
windows on one workspace (in my case: chromium, eclipse, urxvt, focus on
eclipse) we get UnmapNotify events for chromium and eclipse, but then we get an
EnterNotify for the terminal (due to unmapping the other windows and therefore
mapping the terminal under the cursor), only afterwards the UnmapNotify
follows.

So, there are two things wrong with that:

• We handle EnterNotifys for unmapped windows

• Unmapping windows sometimes works in a sequence, sometimes the sequence gets
  split. Not sure why (if unmapping can take longer for some windows or if our
  syncing is wrong -- but i checked the latter briefly and it looks correct).
  Maybe GrabServer helps?

• We don’t ignore EnterNotify events caused by UnmapNotifies. We used to, but
  then there was a different problem and we decided to solve the EnterNotify
  problem in another way, which actually never happened (commit
  1c5adc6c35).
2011-04-19 21:50:56 +02:00
..
i3 Ported over some message types from -next. 2010-11-21 21:36:19 +01:00
all.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
atoms.xmacro Set the I3_SOCKET_PATH and I3_CONFIG_PATH atoms on the X11 root window 2011-03-19 21:20:38 +01:00
click.h refactor handlers.{c,h}: declare the handlers static, remove unnecessary parameters 2011-03-20 16:53:12 +01:00
cmdparse.h ipc/parser: commands can now return custom JSON replies 2010-07-17 15:15:37 +02:00
con.h When making floating cons tiling, re-insert next to the next focused *tiling* con (Thanks mseed) 2011-03-14 23:50:29 +01:00
config.h Implemented config key 'new_container' 2011-04-02 21:43:49 +02:00
data.h Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
debug.h Add vim hints, copyright notice to each file, add LICENSE, retab! everything 2009-02-14 02:33:31 +01:00
ewmh.h Bring back some more EWMH support. 2011-03-14 17:11:33 +01:00
floating.h Bugfix: Check if a floating window’s coordinates are within a different workspace when managing (Thanks Merovius) 2011-04-18 19:28:03 +02:00
handlers.h Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
i3.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
ipc.h Set the I3_SOCKET_PATH atom to the expanded path. 2011-03-21 23:46:03 +01:00
load_layout.h first step of the big refactoring ("tree" branch). 2010-04-13 13:17:39 +02:00
log.h loglevel bitmasks needs to be larger because we got more than 32 files 2010-04-17 17:46:11 +02:00
manage.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
match.h recognize dock windows (and support matching them) 2010-08-15 12:18:27 +02:00
move.h refactor tree_move() into src/move.c, change config (!), change testcase 2011-02-14 23:05:20 +01:00
output.h Bugfix: fix disabling RandR outputs 2011-02-21 01:43:39 +01:00
queue.h implement TAILQ_SWAP (only for consecutive elements, order relevant) and use it 2011-02-15 02:21:23 +01:00
randr.h Re-Implement support for RandR changes 2011-01-05 00:16:10 +01:00
render.h Bugfix: Don’t draw borders for fullscreen windows 2010-11-21 17:00:10 +01:00
resize.h Implement resizing (still buggy) 2010-11-29 10:56:16 +01:00
sighandler.h Retab sighandler.c 2010-12-31 19:36:32 +01:00
tree.h Bugfix: Don’t focus new cons when there is a fullscreen con (Thanks dothebart) 2011-03-06 23:26:02 +01:00
util.h little coding style fixes, fix compilation warning 2011-03-21 23:54:13 +01:00
window.h Implement support for top/bottom dock clients (according to _NET_WM_STRUT_PARTIAL or requested position) 2011-02-21 14:27:32 +01:00
workspace.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
x.h optimization: when moving floating windows, render/push only the floatingcon 2011-04-01 22:40:12 +02:00
xcb.h Handle FocusIn events generated by clients and update decoration accordingly (Thanks mseed) 2011-03-20 16:26:36 +01:00
xcb_compat.h Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
xcursor.h little style fixes, add vim modeline 2010-11-28 13:02:29 +01:00
xinerama.h first step of the big refactoring ("tree" branch). 2010-04-13 13:17:39 +02:00