aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r--src/WinClient.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh
index 3a9d792..4808807 100644
--- a/src/WinClient.hh
+++ b/src/WinClient.hh
@@ -53,6 +53,9 @@ public:
53 bool sendFocus(); // returns whether we sent a message or not 53 bool sendFocus(); // returns whether we sent a message or not
54 // i.e. whether we assume the focus will get taken 54 // i.e. whether we assume the focus will get taken
55 bool acceptsFocus() const; // will this window accept focus (according to hints) 55 bool acceptsFocus() const; // will this window accept focus (according to hints)
56 void setInputFocus(int revert_to, int time);
57 inline bool isWaitingFocus() { return m_waiting_focus; }
58 void receivedFocus() { m_waiting_focus = false; m_focussig.notify(); }
56 void sendClose(bool forceful = false); 59 void sendClose(bool forceful = false);
57 // not aware of anything that makes this false at present 60 // not aware of anything that makes this false at present
58 inline bool isClosable() const { return true; } 61 inline bool isClosable() const { return true; }
@@ -197,6 +200,7 @@ private:
197 // or indicates that we are modal if don't have any transients 200 // or indicates that we are modal if don't have any transients
198 int m_modal; 201 int m_modal;
199 bool send_focus_message, send_close_message; 202 bool send_focus_message, send_close_message;
203 bool m_waiting_focus;
200 204
201 int m_win_gravity; 205 int m_win_gravity;
202 206