aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 407d51b..c6e3ce4 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -528,6 +528,7 @@ private:
528 void moveResizeClient(WinClient &client); 528 void moveResizeClient(WinClient &client);
529 /// sends configurenotify to all clients 529 /// sends configurenotify to all clients
530 void sendConfigureNotify(); 530 void sendConfigureNotify();
531 void updateResize() { moveResize(m_last_resize_x, m_last_resize_y, m_last_resize_w, m_last_resize_h); }
531 532
532 static void grabPointer(Window grab_window, 533 static void grabPointer(Window grab_window,
533 Bool owner_events, 534 Bool owner_events,
@@ -553,6 +554,7 @@ private:
553 uint64_t m_last_keypress_time; 554 uint64_t m_last_keypress_time;
554 FbTk::Timer m_timer; 555 FbTk::Timer m_timer;
555 FbTk::Timer m_tabActivationTimer; 556 FbTk::Timer m_tabActivationTimer;
557 FbTk::Timer m_resizeTimer;
556 558
557 // Window states 559 // Window states
558 bool moving, resizing, m_initialized; 560 bool moving, resizing, m_initialized;
@@ -565,6 +567,7 @@ private:
565 int m_last_resize_x, m_last_resize_y; // handles last button press event for resize 567 int m_last_resize_x, m_last_resize_y; // handles last button press event for resize
566 int m_last_move_x, m_last_move_y; // handles last pos for non opaque moving 568 int m_last_move_x, m_last_move_y; // handles last pos for non opaque moving
567 int m_last_resize_h, m_last_resize_w; // handles height/width for resize "window" 569 int m_last_resize_h, m_last_resize_w; // handles height/width for resize "window"
570 int resize_base_x, resize_base_y, resize_base_w, resize_base_h; // opaque and transparent resize alignment
568 int m_last_pressed_button; 571 int m_last_pressed_button;
569 572
570 unsigned int m_workspace_number; 573 unsigned int m_workspace_number;