Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c39ea606
Commit
c39ea606
authored
Mar 23, 2009
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gtkutil.c (xg_display_open): Assign a value to gdpy_def, check
that gdpy is set.
parent
be14a425
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
src/ChangeLog
src/ChangeLog
+5
-0
src/gtkutil.c
src/gtkutil.c
+6
-3
No files found.
src/ChangeLog
View file @
c39ea606
2009-03-23 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_display_open): Assign a value to gdpy_def, check
that gdpy is set.
2009-03-22 Alan Mackenzie <acm@muc.de>
* callint.c (Finteractive): Clarify the doc string - even
...
...
src/gtkutil.c
View file @
c39ea606
...
...
@@ -119,9 +119,12 @@ xg_display_open (display_name, dpy)
GdkDisplay
*
gdpy
;
gdpy
=
gdk_display_open
(
display_name
);
if
(
!
gdpy_def
)
gdk_display_manager_set_default_display
(
gdk_display_manager_get
(),
gdpy
);
if
(
!
gdpy_def
&&
gdpy
)
{
gdpy_def
=
gdpy
;
gdk_display_manager_set_default_display
(
gdk_display_manager_get
(),
gdpy
);
}
*
dpy
=
gdpy
?
GDK_DISPLAY_XDISPLAY
(
gdpy
)
:
NULL
;
return
gdpy
!=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment