diff options
author | rathnor <rathnor> | 2003-09-21 12:49:48 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-09-21 12:49:48 (GMT) |
commit | 4d83785792954c42f080ce8e975a404a38bf1c66 (patch) | |
tree | f9c78178ccd41b7ae362998b8996992cb1ff7768 /src/WinClient.hh | |
parent | 39e9e25d5b0df95ddb72f79d95743cc619f12cf8 (diff) | |
download | fluxbox_pavel-4d83785792954c42f080ce8e975a404a38bf1c66.zip fluxbox_pavel-4d83785792954c42f080ce8e975a404a38bf1c66.tar.bz2 |
fix disappearing close button
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r-- | src/WinClient.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh index bb89c99..6bdfe3f 100644 --- a/src/WinClient.hh +++ b/src/WinClient.hh | |||
@@ -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.hh,v 1.13 2003/09/11 19:55:27 rathnor Exp $ | 22 | // $Id: WinClient.hh,v 1.14 2003/09/21 12:49:48 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef WINCLIENT_HH | 24 | #ifndef WINCLIENT_HH |
25 | #define WINCLIENT_HH | 25 | #define WINCLIENT_HH |
@@ -46,7 +46,8 @@ public: | |||
46 | bool sendFocus(); // returns whether we sent a message or not | 46 | bool sendFocus(); // returns whether we sent a message or not |
47 | // i.e. whether we assume the focus will get taken | 47 | // i.e. whether we assume the focus will get taken |
48 | void sendClose(bool forceful = false); | 48 | void sendClose(bool forceful = false); |
49 | inline bool isClosable() const { return closable; } | 49 | // not aware of anything that makes this false at present |
50 | inline bool isClosable() const { return true; } | ||
50 | void reparent(Window win, int x, int y); | 51 | void reparent(Window win, int x, int y); |
51 | bool getAttrib(XWindowAttributes &attr) const; | 52 | bool getAttrib(XWindowAttributes &attr) const; |
52 | bool getWMName(XTextProperty &textprop) const; | 53 | bool getWMName(XTextProperty &textprop) const; |
@@ -157,7 +158,7 @@ private: | |||
157 | // number of transients which we are modal for | 158 | // number of transients which we are modal for |
158 | // or indicates that we are modal if don't have any transients | 159 | // or indicates that we are modal if don't have any transients |
159 | int m_modal; | 160 | int m_modal; |
160 | bool send_focus_message, closable; | 161 | bool send_focus_message, send_close_message; |
161 | 162 | ||
162 | int m_win_gravity; | 163 | int m_win_gravity; |
163 | 164 | ||