Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
e161c791
Commit
e161c791
authored
15 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.2-283
parent
eda6eb9f
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gui_gtk_x11.c
+18
-2
18 additions, 2 deletions
src/gui_gtk_x11.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
20 additions
and
2 deletions
src/gui_gtk_x11.c
+
18
−
2
View file @
e161c791
...
...
@@ -5267,8 +5267,24 @@ gui_mch_init_font(char_u *font_name, int fontset UNUSED)
# endif
#endif
/* !HAVE_GTK2 */
/* Preserve the logical dimensions of the screen. */
update_window_manager_hints
(
0
,
0
);
#ifdef HAVE_GTK2
if
(
gui_mch_maximized
())
{
int
w
,
h
;
/* Update lines and columns in accordance with the new font, keep the
* window maximized. */
gtk_window_get_size
(
GTK_WINDOW
(
gui
.
mainwin
),
&
w
,
&
h
);
w
-=
get_menu_tool_width
();
h
-=
get_menu_tool_height
();
gui_resize_shell
(
w
,
h
);
}
else
#endif
{
/* Preserve the logical dimensions of the screen. */
update_window_manager_hints
(
0
,
0
);
}
return
OK
;
}
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
e161c791
...
...
@@ -676,6 +676,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
283
,
/**/
282
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment