diff options
author | fluxgen <fluxgen> | 2002-08-30 14:06:40 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-08-30 14:06:40 (GMT) |
commit | e954ecc72a0c4e308e51e1cb08556f4318d2b101 (patch) | |
tree | b684417b335cbb5a8f6c0af4bccd14380ae6e42f /src/Window.hh | |
parent | d86785056d5f8d69cf1b0a6a0142fa7b5a3b0aba (diff) | |
download | fluxbox-e954ecc72a0c4e308e51e1cb08556f4318d2b101.zip fluxbox-e954ecc72a0c4e308e51e1cb08556f4318d2b101.tar.bz2 |
new functions pause/resumeMoving and fixed non-opaque moving across workspace
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Window.hh b/src/Window.hh index 76b7a14..6090d71 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.28 2002/08/16 10:44:17 fluxgen Exp $ | 25 | // $Id: Window.hh,v 1.29 2002/08/30 14:06:40 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef WINDOW_HH | 27 | #ifndef WINDOW_HH |
28 | #define WINDOW_HH | 28 | #define WINDOW_HH |
@@ -202,6 +202,8 @@ public: | |||
202 | void changeBlackboxHints(BaseDisplay::BlackboxHints *bh); | 202 | void changeBlackboxHints(BaseDisplay::BlackboxHints *bh); |
203 | void restoreAttributes(); | 203 | void restoreAttributes(); |
204 | void showMenu(int mx, int my); | 204 | void showMenu(int mx, int my); |
205 | void pauseMoving(); | ||
206 | void resumeMoving(); | ||
205 | 207 | ||
206 | void buttonPressEvent(XButtonEvent *be); | 208 | void buttonPressEvent(XButtonEvent *be); |
207 | void buttonReleaseEvent(XButtonEvent *be); | 209 | void buttonReleaseEvent(XButtonEvent *be); |
@@ -324,10 +326,10 @@ private: | |||
324 | right_grip, left_grip; | 326 | right_grip, left_grip; |
325 | 327 | ||
326 | int x, y, resize_x, resize_y, move_x, move_y, grab_x, grab_y, | 328 | int x, y, resize_x, resize_y, move_x, move_y, grab_x, grab_y, |
327 | y_border, y_handle; | 329 | y_border, y_handle, save_x, save_y; |
328 | unsigned int width, height, title_h, label_w, label_h, handle_h, | 330 | unsigned int width, height, title_h, label_w, label_h, handle_h, |
329 | button_w, button_h, grip_w, grip_h, mwm_border_w, border_h, | 331 | button_w, button_h, grip_w, grip_h, mwm_border_w, border_h, |
330 | bevel_w, resize_w, resize_h, snap_w, snap_h; | 332 | bevel_w, resize_w, resize_h, snap_w, snap_h, move_ws; |
331 | } frame; | 333 | } frame; |
332 | 334 | ||
333 | enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE }; | 335 | enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE }; |