Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a789375f
Commit
a789375f
authored
May 05, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't touch the users count when a system process switches desktops.
parent
6b007698
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
winstation.c
server/winstation.c
+10
-9
No files found.
server/winstation.c
View file @
a789375f
...
...
@@ -309,17 +309,18 @@ void set_process_default_desktop( struct process *process, struct desktop *deskt
LIST_FOR_EACH_ENTRY
(
thread
,
&
process
->
thread_list
,
struct
thread
,
proc_entry
)
if
(
!
thread
->
desktop
)
thread
->
desktop
=
handle
;
desktop
->
users
++
;
if
(
desktop
->
close_timeout
)
if
(
!
process
->
is_system
)
{
remove_timeout_user
(
desktop
->
close_timeout
)
;
desktop
->
close_timeout
=
NULL
;
}
if
(
old_desktop
)
{
old_desktop
->
users
--
;
release_object
(
old_desktop
)
;
desktop
->
users
++
;
if
(
desktop
->
close_timeout
)
{
remove_timeout_user
(
desktop
->
close_timeout
);
desktop
->
close_timeout
=
NULL
;
}
if
(
old_desktop
)
old_desktop
->
users
--
;
}
if
(
old_desktop
)
release_object
(
old_desktop
);
}
/* connect a process to its window station */
...
...
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