diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-27 20:58:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-27 20:58:26 +0000 |
commit | afa24990b344e199abe1391fac7181defcd0c244 (patch) | |
tree | d516436e09300951fe2497008528a7042babed8d /src/gui_photon.c | |
parent | 2e2a2815e5c8274bf2e2d9b383707f1c2eee08bb (diff) | |
download | vim-git-afa24990b344e199abe1391fac7181defcd0c244.tar.gz |
updated for version 7.0c01
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r-- | src/gui_photon.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c index fa7dc92fc..f702c41bf 100644 --- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -392,7 +392,7 @@ gui_ph_handle_window_cb( PtWidget_t *widget, void *data, PtCallbackInfo_t *info height -= (pg_margin_top + pg_margin_bottom); #endif gui_resize_shell( *width, *height ); - gui_set_shellsize( FALSE, FALSE ); + gui_set_shellsize( FALSE, FALSE, RESIZE_BOTH ); is_ignore_draw = FALSE; PtEndFlux( gui.vimContainer ); PtContainerRelease( gui.vimContainer ); @@ -825,7 +825,7 @@ gui_ph_handle_window_open( void *data, PtCallbackInfo_t *info ) { - gui_set_shellsize( FALSE, TRUE ); + gui_set_shellsize( FALSE, TRUE, RESIZE_BOTH ); return( Pt_CONTINUE ); } @@ -1660,7 +1660,8 @@ gui_mch_set_winpos(int x, int y) void gui_mch_set_shellsize(int width, int height, - int min_width, int min_height, int base_width, int base_height) + int min_width, int min_height, int base_width, int base_height, + int direction) { PhDim_t window_size = { width, height }; PhDim_t min_size = { min_width, min_height }; |