aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-20 02:47:15 (GMT)
committerrathnor <rathnor>2003-04-20 02:47:15 (GMT)
commite75378d0e6d5891536e24389fcbeabeb7a9d579a (patch)
tree0cd085d6d1b6c81af4e96bc440c2bd38cb49354c /src/Window.hh
parentb42b0620f49e396aea5d6ee68ce252b1139b4ab4 (diff)
downloadfluxbox-e75378d0e6d5891536e24389fcbeabeb7a9d579a.zip
fluxbox-e75378d0e6d5891536e24389fcbeabeb7a9d579a.tar.bz2
Add window snapping (Simon)
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index ba1413b..31be752 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.58 2003/04/16 12:28:39 fluxgen Exp $ 25// $Id: Window.hh,v 1.59 2003/04/20 02:47:15 rathnor Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -348,6 +348,9 @@ private:
348 void setState(unsigned long stateval); 348 void setState(unsigned long stateval);
349 void upsize(); 349 void upsize();
350 void downsize(); 350 void downsize();
351
352 // modifies left and top if snap is necessary
353 void doSnapping(int &left, int &top);
351 void right_fixsize(int *x = 0, int *y = 0); 354 void right_fixsize(int *x = 0, int *y = 0);
352 void left_fixsize(int *x = 0, int *y = 0); 355 void left_fixsize(int *x = 0, int *y = 0);
353 void resizeClient(WinClient &client, unsigned int width, unsigned int height); 356 void resizeClient(WinClient &client, unsigned int width, unsigned int height);