diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-01-30 15:54:04 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-02-27 20:18:08 (GMT) |
commit | 54c1ac8704c2ad81a597547912bdbf5cbf7967d9 (patch) | |
tree | 1fe28afd4682d3f284ed0de65e7377fb4b0b1d89 /src | |
parent | 8a7879913ba7169224e18db81888a49e732c1819 (diff) | |
download | fluxbox_lack-54c1ac8704c2ad81a597547912bdbf5cbf7967d9.zip fluxbox_lack-54c1ac8704c2ad81a597547912bdbf5cbf7967d9.tar.bz2 |
Ignore EnterNotify on Move or Resize
Moving and Resizing windows can reveal other windows, which of course can change
unexpected focus changes in focus-follows-mouse.
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index 35d9b80..1104e50 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1211,6 +1211,9 @@ void FluxboxWindow::moveResize(int new_x, int new_y, | |||
1211 | if (!moving) { | 1211 | if (!moving) { |
1212 | m_last_resize_x = new_x; | 1212 | m_last_resize_x = new_x; |
1213 | m_last_resize_y = new_y; | 1213 | m_last_resize_y = new_y; |
1214 | |||
1215 | /* Ignore all EnterNotify events until the pointer actually moves */ | ||
1216 | screen().focusControl().ignoreAtPointer(); | ||
1214 | } | 1217 | } |
1215 | 1218 | ||
1216 | } | 1219 | } |