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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
2baccd04
Commit
2baccd04
authored
Apr 15, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xsmfns.c (create_client_leader_window): Rename shadowing arg.
parent
3565b346
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/ChangeLog
src/ChangeLog
+2
-0
src/xsmfns.c
src/xsmfns.c
+4
-4
No files found.
src/ChangeLog
View file @
2baccd04
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* xsmfns.c (create_client_leader_window): Rename shadowing arg.
* xrdb.c (x_load_resources) [!USE_MOTIF]: Omit unused local.
* xfns.c (free_frame_menubar, atof): Remove duplicate decls.
...
...
src/xsmfns.c
View file @
2baccd04
...
...
@@ -42,7 +42,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "keyboard.h"
#ifndef HAVE_GTK3
#define gdk_x11_set_sm_client_id(w) gdk_set_sm_client_id (w)
#define gdk_x11_set_sm_client_id(w) gdk_set_sm_client_id (w)
#endif
/* This is the event used when SAVE_SESSION_EVENT occurs. */
...
...
@@ -250,7 +250,7 @@ smc_save_yourself_CB (SmcConn smcConn,
props
[
props_idx
]
->
vals
[
vp_idx
++
].
value
=
chdir_opt
;
}
for
(
i
=
1
;
i
<
initial_argc
;
++
i
)
for
(
i
=
1
;
i
<
initial_argc
;
++
i
)
{
props
[
props_idx
]
->
vals
[
vp_idx
].
length
=
strlen
(
initial_argv
[
i
]);
props
[
props_idx
]
->
vals
[
vp_idx
++
].
value
=
initial_argv
[
i
];
...
...
@@ -365,7 +365,7 @@ ice_conn_watch_CB (IceConn iceConn, IcePointer clientData,
#ifndef USE_GTK
static
void
create_client_leader_window
(
struct
x_display_info
*
dpyinfo
,
char
*
client_
id
)
create_client_leader_window
(
struct
x_display_info
*
dpyinfo
,
char
*
client_
ID
)
{
Window
w
;
XClassHint
class_hints
;
...
...
@@ -383,7 +383,7 @@ create_client_leader_window (struct x_display_info *dpyinfo, char *client_id)
XChangeProperty
(
dpyinfo
->
display
,
w
,
dpyinfo
->
Xatom_SM_CLIENT_ID
,
XA_STRING
,
8
,
PropModeReplace
,
(
unsigned
char
*
)
client_id
,
strlen
(
client_id
));
(
unsigned
char
*
)
client_ID
,
strlen
(
client_ID
));
dpyinfo
->
client_leader_window
=
w
;
}
...
...
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