Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dd7447cc
Commit
dd7447cc
authored
Sep 03, 1999
by
Gerd Moellmann
Browse files
(make_shadow_gcs): Call
x_alloc_nearest_color_for_widget.
parent
f019cded
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lwlib/xlwmenu.c
lwlib/xlwmenu.c
+2
-2
No files found.
lwlib/xlwmenu.c
View file @
dd7447cc
...
...
@@ -1434,7 +1434,7 @@ make_shadow_gcs (mw)
topc
.
green
=
MINL
(
65535
,
topc
.
green
*
1
.
2
);
topc
.
blue
=
MINL
(
65535
,
topc
.
blue
*
1
.
2
);
#ifdef emacs
if
(
x_alloc_nearest_color
(
dpy
,
screen
,
cmap
,
&
topc
))
if
(
x_alloc_nearest_color
_for_widget
(
mw
,
cmap
,
&
topc
))
#else
if
(
XAllocColor
(
dpy
,
cmap
,
&
topc
))
#endif
...
...
@@ -1452,7 +1452,7 @@ make_shadow_gcs (mw)
botc
.
green
*=
0
.
6
;
botc
.
blue
*=
0
.
6
;
#ifdef emacs
if
(
x_alloc_nearest_color
(
dpy
,
screen
,
cmap
,
&
botc
))
if
(
x_alloc_nearest_color
_for_widget
(
mw
,
cmap
,
&
botc
))
#else
if
(
XAllocColor
(
dpy
,
cmap
,
&
botc
))
#endif
...
...
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