diff options
author | markt <markt> | 2006-07-23 09:51:54 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-23 09:51:54 (GMT) |
commit | be2f40a10d9c11a56c0c53307be5557a127027e9 (patch) | |
tree | 0cd5067c32dc42dbcbb59ad32d7d2a08f44cdf6f /src/WinClient.cc | |
parent | b0b28c4bbb20ffcf56b445caca112d8866c9c788 (diff) | |
download | fluxbox_pavel-be2f40a10d9c11a56c0c53307be5557a127027e9.zip fluxbox_pavel-be2f40a10d9c11a56c0c53307be5557a127027e9.tar.bz2 |
use a timer to make sure focus always reverts if possible
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index daf3d42..73b5d45 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -66,7 +66,6 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin):FbTk::Fb | |||
66 | m_modal(0), | 66 | m_modal(0), |
67 | send_focus_message(false), | 67 | send_focus_message(false), |
68 | send_close_message(false), | 68 | send_close_message(false), |
69 | m_waiting_focus(false), | ||
70 | m_win_gravity(0), | 69 | m_win_gravity(0), |
71 | m_title(""), m_icon_title(""), | 70 | m_title(""), m_icon_title(""), |
72 | m_class_name(""), m_instance_name(""), | 71 | m_class_name(""), m_instance_name(""), |
@@ -189,11 +188,6 @@ bool WinClient::sendFocus() { | |||
189 | return true; | 188 | return true; |
190 | } | 189 | } |
191 | 190 | ||
192 | void WinClient::setInputFocus(int revert_to, int time) { | ||
193 | FbTk::FbWindow::setInputFocus(revert_to, time); | ||
194 | m_waiting_focus = true; | ||
195 | } | ||
196 | |||
197 | void WinClient::sendClose(bool forceful) { | 191 | void WinClient::sendClose(bool forceful) { |
198 | if (forceful || !send_close_message) | 192 | if (forceful || !send_close_message) |
199 | XKillClient(display(), window()); | 193 | XKillClient(display(), window()); |