aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-05-13 01:48:18 (GMT)
committerrathnor <rathnor>2004-05-13 01:48:18 (GMT)
commit9069ae0d80c278fcba837d50f75a49f18ea44c15 (patch)
treee7ebc3a06eb456fc7e8e138e0797591fc25c3a20 /src/Window.hh
parent7ed9104ea85e3f7d23e0a523c71ad8dbe7c281c2 (diff)
downloadfluxbox-9069ae0d80c278fcba837d50f75a49f18ea44c15.zip
fluxbox-9069ae0d80c278fcba837d50f75a49f18ea44c15.tar.bz2
fix up a number of things for when a window hides while moving,
including a crash bug
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Window.hh b/src/Window.hh
index a8c6a6b..c67ce63 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.113 2004/05/02 21:06:27 fluxgen Exp $ 25// $Id: Window.hh,v 1.114 2004/05/13 01:48:18 rathnor Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -184,13 +184,14 @@ public:
184 // map this window 184 // map this window
185 void show(); 185 void show();
186 // unmap this window 186 // unmap this window
187 void hide(); 187 void hide() { hide(true); }
188 void hide(bool interrupt_moving);
188 void iconify(); 189 void iconify();
189 void deiconify(bool reassoc = true, bool do_raise = true); 190 void deiconify(bool reassoc = true, bool do_raise = true);
190 /// close current client 191 /// close current client
191 void close(); 192 void close();
192 /// set the window in withdrawn state 193 /// set the window in withdrawn state
193 void withdraw(); 194 void withdraw(bool interrupt_moving);
194 /// toggle maximize 195 /// toggle maximize
195 void maximize(int type = MAX_FULL); 196 void maximize(int type = MAX_FULL);
196 /// maximizes the window horizontal 197 /// maximizes the window horizontal
@@ -384,11 +385,11 @@ private:
384 void grabButtons(); 385 void grabButtons();
385 386
386 void startMoving(Window win); 387 void startMoving(Window win);
387 void stopMoving(); 388 void stopMoving(bool interrupted = false);
388 void startResizing(Window win, int x, int y); 389 void startResizing(Window win, int x, int y);
389 void stopResizing(Window win=0); 390 void stopResizing(bool interrupted = false);
390 /// try to attach current attaching client to a window at pos x, y 391 /// try to attach current attaching client to a window at pos x, y
391 void attachTo(int x, int y); 392 void attachTo(int x, int y, bool interrupted = false);
392 393
393 bool getState(); 394 bool getState();
394 /// gets title string from client window and updates frame's title 395 /// gets title string from client window and updates frame's title