Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0b1d1d97
Commit
0b1d1d97
authored
Mar 31, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the no longer needed X11DRV_get_client_area_offset function.
parent
bc75f2f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
window.c
dlls/x11drv/window.c
+0
-29
x11drv.h
dlls/x11drv/x11drv.h
+0
-1
No files found.
dlls/x11drv/window.c
View file @
0b1d1d97
...
...
@@ -107,7 +107,6 @@ static const char * const atom_names[NB_XATOMS - FIRST_XATOM] =
static
LPCSTR
whole_window_atom
;
static
LPCSTR
icon_window_atom
;
static
LPCSTR
client_offset_atom
;
static
LPCSTR
managed_atom
;
/***********************************************************************
...
...
@@ -606,8 +605,6 @@ void X11DRV_sync_window_position( Display *display, struct x11drv_win_data *data
data
->
client_rect
=
*
new_client_rect
;
OffsetRect
(
&
data
->
client_rect
,
-
data
->
whole_rect
.
left
,
-
data
->
whole_rect
.
top
);
SetPropA
(
data
->
hwnd
,
client_offset_atom
,
(
HANDLE
)
MAKELONG
(
data
->
client_rect
.
left
,
data
->
client_rect
.
top
));
if
(
!
data
->
whole_window
)
return
;
if
(
swp_flags
&
SWP_WINE_NOHOSTMOVE
)
return
;
...
...
@@ -675,7 +672,6 @@ static void create_desktop( Display *display, struct x11drv_win_data *data )
whole_window_atom
=
MAKEINTATOMA
(
GlobalAddAtomA
(
"__wine_x11_whole_window"
));
icon_window_atom
=
MAKEINTATOMA
(
GlobalAddAtomA
(
"__wine_x11_icon_window"
));
client_offset_atom
=
MAKEINTATOMA
(
GlobalAddAtomA
(
"__wine_x11_client_area_offset"
));
managed_atom
=
MAKEINTATOMA
(
GlobalAddAtomA
(
"__wine_x11_managed"
));
data
->
whole_window
=
root_window
;
...
...
@@ -1071,31 +1067,6 @@ struct x11drv_win_data *X11DRV_get_win_data( HWND hwnd )
/***********************************************************************
* X11DRV_get_client_area_offset
*
* Return the offset of the client area relative to the x11 window.
*/
POINT
X11DRV_get_client_area_offset
(
HWND
hwnd
)
{
POINT
pt
;
struct
x11drv_win_data
*
data
=
X11DRV_get_win_data
(
hwnd
);
if
(
data
)
{
pt
.
x
=
data
->
client_rect
.
left
;
pt
.
y
=
data
->
client_rect
.
top
;
}
else
{
ULONG_PTR
offset
=
(
ULONG_PTR
)
GetPropA
(
hwnd
,
client_offset_atom
);
pt
.
x
=
(
SHORT
)
LOWORD
(
offset
);
pt
.
y
=
(
SHORT
)
HIWORD
(
offset
);
}
return
pt
;
}
/***********************************************************************
* X11DRV_get_whole_window
*
* Return the X window associated with the full area of a window
...
...
dlls/x11drv/x11drv.h
View file @
0b1d1d97
...
...
@@ -651,7 +651,6 @@ struct x11drv_win_data
};
extern
struct
x11drv_win_data
*
X11DRV_get_win_data
(
HWND
hwnd
);
extern
POINT
X11DRV_get_client_area_offset
(
HWND
hwnd
);
extern
Window
X11DRV_get_whole_window
(
HWND
hwnd
);
extern
BOOL
X11DRV_is_window_rect_mapped
(
const
RECT
*
rect
);
extern
XIC
X11DRV_get_ic
(
HWND
hwnd
);
...
...
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