diff options
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh index e6d8633..7285acf 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.71 2003/05/11 13:36:11 fluxgen Exp $ | 25 | // $Id: Window.hh,v 1.72 2003/05/14 14:43:06 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef WINDOW_HH | 27 | #ifndef WINDOW_HH |
28 | #define WINDOW_HH | 28 | #define WINDOW_HH |
@@ -361,6 +361,7 @@ public: | |||
361 | 361 | ||
362 | private: | 362 | private: |
363 | void init(); | 363 | void init(); |
364 | void shape(); | ||
364 | 365 | ||
365 | void grabButtons(); | 366 | void grabButtons(); |
366 | 367 | ||
@@ -450,7 +451,9 @@ private: | |||
450 | struct _functions { | 451 | struct _functions { |
451 | bool resize, move, iconify, maximize, close; | 452 | bool resize, move, iconify, maximize, close; |
452 | } functions; | 453 | } functions; |
453 | 454 | ||
455 | bool m_shaped; ///< if the window is shaped with a mask | ||
456 | |||
454 | int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized | 457 | int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized |
455 | unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state | 458 | unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state |
456 | int m_last_button_x, ///< last known x position of the mouse button | 459 | int m_last_button_x, ///< last known x position of the mouse button |