gri3-wm/src
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
..
cfgparse.l Rename bind to bindcode 2011-04-18 23:52:45 +02:00
cfgparse.y Rename bind to bindcode 2011-04-18 23:52:45 +02:00
click.c refactor handlers.{c,h}: declare the handlers static, remove unnecessary parameters 2011-03-20 16:53:12 +01:00
cmdparse.l refactor tree_move() into src/move.c, change config (!), change testcase 2011-02-14 23:05:20 +01:00
cmdparse.y Handle saved_configpath in get_config_path, fix memleak in current_configpath handling, update atoms after reloading (Thanks fernandotcl) 2011-03-19 22:26:15 +01:00
con.c Bugfix: When moving floating cons to other workspaces, attach them to the workspace 2011-04-18 18:44:18 +02:00
config.c Handle saved_configpath in get_config_path, fix memleak in current_configpath handling, update atoms after reloading (Thanks fernandotcl) 2011-03-19 22:26:15 +01:00
debug.c Use DLOG for debug messages instead of printf (Thanks kruM) 2010-03-19 18:48:36 +01:00
ewmh.c Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
floating.c Bugfix: Center floating windows with invalid coordinates on current ws 2011-04-18 19:36:10 +02:00
handlers.c Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
ipc.c FREE() already nulls the pointer 2011-03-21 23:49:16 +01:00
load_layout.c Fix regression: Don’t add floating nodes twice when restoring layout (+testcase) 2011-02-28 20:44:23 +01:00
log.c log.c: fix indenting 2010-11-29 22:28:23 +01:00
main.c little coding style fixes, fix compilation warning 2011-03-21 23:54:13 +01:00
manage.c bugfix: fix race condition where window titles were not correctly updated 2011-04-01 21:39:58 +02:00
match.c Implement support for top/bottom dock clients (according to _NET_WM_STRUT_PARTIAL or requested position) 2011-02-21 14:27:32 +01:00
move.c fix small warnings when compiling with DEBUG=0 2011-03-14 23:17:52 +01:00
output.c Bugfix: fix disabling RandR outputs 2011-02-21 01:43:39 +01:00
randr.c Bugfix: Actually re-attach dock clients when outputs get disabled (Thanks phnom) 2011-03-20 01:07:21 +01:00
render.c refactor font caching to just save the ID instead of mainting a cache with pattern→id-mapping 2011-03-10 23:20:17 +01:00
resize.c Fix the resize algorithm I broke earlier. 2011-01-27 13:00:14 +01:00
sighandler.c Make i3 compatible with the very latest xcb 2011-03-18 14:39:27 +01:00
tree.c Re-implement rendering to pixmaps (double-buffering) and caching decorations 2011-03-20 14:25:09 +01:00
util.c little coding style fixes, fix compilation warning 2011-03-21 23:54:13 +01:00
window.c Re-implement rendering to pixmaps (double-buffering) and caching decorations 2011-03-20 14:25:09 +01:00
workspace.c Bugfix: Fix switching workspaces on multi-monitor setups (Thanks mseed) 2011-03-20 18:27:14 +01:00
x.c Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
xcb.c Bugfix: Ignore EnterNotifies generated by UnmapNotifies 2011-04-19 21:50:56 +02:00
xcursor.c Bugfix: Flush the Xlib connection after creating cursors 2011-04-01 21:57:08 +02:00
xinerama.c Re-Implement support for RandR changes 2011-01-05 00:16:10 +01:00