Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xfwm4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xfce
xfwm4
Commits
e4456a27
Commit
e4456a27
authored
22 years ago
by
Olivier Fourdan
Browse files
Options
Downloads
Patches
Plain Diff
Use save_phase_2 callback instead of save_yourself callback
(Old svn revision: 10649)
parent
99b63b0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.c
+2
-2
2 additions, 2 deletions
src/main.c
with
2 additions
and
2 deletions
src/main.c
+
2
−
2
View file @
e4456a27
...
...
@@ -98,7 +98,7 @@ void cleanUp()
closeEventFilter
();
}
static
void
session_save_
yourself
(
gpointer
client_data
,
int
save_style
,
gboolean
shutdown
,
int
interact_style
,
gboolean
fast
)
static
void
session_save_
phase_2
(
gpointer
client_data
)
{
g_print
(
"TODO: Save session
\n
"
);
}
...
...
@@ -154,7 +154,7 @@ void initialize(int argc, char **argv)
cmap
=
DefaultColormap
(
dpy
,
screen
);
client_session
=
client_session_new
(
argc
,
argv
,
NULL
,
SESSION_RESTART_IF_RUNNING
,
20
);
client_session
->
save_
yourself
=
session_save_
yourself
;
client_session
->
save_
phase_2
=
session_save_
phase_2
;
client_session
->
die
=
session_die
;
if
(
!
session_init
(
client_session
))
...
...
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