summaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 416dd63..092c10d 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: WinClient.cc,v 1.18 2003/07/20 18:05:39 rathnor Exp $ 22// $Id: WinClient.cc,v 1.19 2003/07/21 15:26:56 rathnor Exp $
23 23
24#include "WinClient.hh" 24#include "WinClient.hh"
25 25
@@ -138,9 +138,9 @@ void WinClient::updateRect(int x, int y,
138 138
139} 139}
140 140
141void WinClient::sendFocus() { 141bool WinClient::sendFocus() {
142 if (!send_focus_message) 142 if (!send_focus_message)
143 return; 143 return false;
144 144
145 Display *disp = FbTk::App::instance()->display(); 145 Display *disp = FbTk::App::instance()->display();
146 // setup focus msg 146 // setup focus msg
@@ -157,6 +157,7 @@ void WinClient::sendFocus() {
157 ce.xclient.data.l[4] = 0l; 157 ce.xclient.data.l[4] = 0l;
158 // send focus msg 158 // send focus msg
159 XSendEvent(disp, window(), false, NoEventMask, &ce); 159 XSendEvent(disp, window(), false, NoEventMask, &ce);
160 return true;
160} 161}
161 162
162void WinClient::sendClose() { 163void WinClient::sendClose() {