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
0f71ff28
Commit
0f71ff28
authored
Oct 15, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Get rid of the __wine_x11_managed property.
parent
49a5db38
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
window.c
dlls/winex11.drv/window.c
+0
-9
No files found.
dlls/winex11.drv/window.c
View file @
0f71ff28
...
...
@@ -83,7 +83,6 @@ static Window user_time_window;
static
const
char
foreign_window_prop
[]
=
"__wine_x11_foreign_window"
;
static
const
char
whole_window_prop
[]
=
"__wine_x11_whole_window"
;
static
const
char
clip_window_prop
[]
=
"__wine_x11_clip_window"
;
static
const
char
managed_prop
[]
=
"__wine_x11_managed"
;
static
CRITICAL_SECTION
win_data_section
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
...
...
@@ -1135,7 +1134,6 @@ void make_window_embedded( struct x11drv_win_data *data )
}
data
->
embedded
=
TRUE
;
data
->
managed
=
TRUE
;
SetPropA
(
data
->
hwnd
,
managed_prop
,
(
HANDLE
)
1
);
sync_window_style
(
data
);
set_xembed_flags
(
data
,
data
->
mapped
?
XEMBED_MAPPED
:
0
);
}
...
...
@@ -1353,7 +1351,6 @@ static void create_whole_window( struct x11drv_win_data *data )
{
TRACE
(
"making win %p/%lx managed
\n
"
,
data
->
hwnd
,
data
->
whole_window
);
data
->
managed
=
TRUE
;
SetPropA
(
data
->
hwnd
,
managed_prop
,
(
HANDLE
)
1
);
}
if
((
win_rgn
=
CreateRectRgn
(
0
,
0
,
0
,
0
))
&&
GetWindowRgn
(
data
->
hwnd
,
win_rgn
)
==
ERROR
)
...
...
@@ -1577,7 +1574,6 @@ static BOOL create_desktop_win_data( Display *display, HWND hwnd )
if
(
!
(
data
=
alloc_win_data
(
display
,
hwnd
)))
return
FALSE
;
data
->
whole_window
=
root_window
;
data
->
managed
=
TRUE
;
SetPropA
(
data
->
hwnd
,
managed_prop
,
(
HANDLE
)
1
);
SetPropA
(
data
->
hwnd
,
whole_window_prop
,
(
HANDLE
)
root_window
);
set_initial_wm_hints
(
display
,
root_window
);
release_win_data
(
data
);
...
...
@@ -1989,11 +1985,7 @@ void CDECL X11DRV_SetParent( HWND hwnd, HWND parent, HWND old_parent )
{
/* destroy the old X windows */
destroy_whole_window
(
data
,
FALSE
);
if
(
data
->
managed
)
{
data
->
managed
=
FALSE
;
RemovePropA
(
data
->
hwnd
,
managed_prop
);
}
}
}
else
/* new top level window */
...
...
@@ -2044,7 +2036,6 @@ void CDECL X11DRV_WindowPosChanging( HWND hwnd, HWND insert_after, UINT swp_flag
unmap_window
(
hwnd
);
if
(
!
(
data
=
get_win_data
(
hwnd
)))
return
;
data
->
managed
=
TRUE
;
SetPropA
(
hwnd
,
managed_prop
,
(
HANDLE
)
1
);
}
*
visible_rect
=
*
window_rect
;
...
...
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