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
129d8616
Commit
129d8616
authored
Feb 28, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Feb 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Use RTL_CONSTANT_STRING instead of reimplementing it.
parent
99396d49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
desktop.c
dlls/winex11.drv/desktop.c
+2
-2
window.c
dlls/winex11.drv/window.c
+2
-2
No files found.
dlls/winex11.drv/desktop.c
View file @
129d8616
...
...
@@ -227,8 +227,8 @@ static LONG X11DRV_desktop_set_current_mode( ULONG_PTR id, const DEVMODEW *mode
static
void
query_desktop_work_area
(
RECT
*
rc_work
)
{
static
const
WCHAR
trayW
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
'_'
,
'T'
,
'r'
,
'a'
,
'y'
,
'W'
,
'n'
,
'd'
};
UNICODE_STRING
str
=
{
sizeof
(
trayW
),
sizeof
(
trayW
),
(
WCHAR
*
)
trayW
}
;
static
const
WCHAR
trayW
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
'_'
,
'T'
,
'r'
,
'a'
,
'y'
,
'W'
,
'n'
,
'd'
,
0
};
UNICODE_STRING
str
=
RTL_CONSTANT_STRING
(
trayW
)
;
RECT
rect
;
HWND
hwnd
=
NtUserFindWindowEx
(
0
,
0
,
&
str
,
NULL
,
0
);
...
...
dlls/winex11.drv/window.c
View file @
129d8616
...
...
@@ -2744,8 +2744,8 @@ void X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flags,
/* check if the window icon should be hidden (i.e. moved off-screen) */
static
BOOL
hide_icon
(
struct
x11drv_win_data
*
data
)
{
static
const
WCHAR
trayW
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
'_'
,
'T'
,
'r'
,
'a'
,
'y'
,
'W'
,
'n'
,
'd'
};
UNICODE_STRING
str
=
{
sizeof
(
trayW
),
sizeof
(
trayW
),
(
WCHAR
*
)
trayW
}
;
static
const
WCHAR
trayW
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
'_'
,
'T'
,
'r'
,
'a'
,
'y'
,
'W'
,
'n'
,
'd'
,
0
};
UNICODE_STRING
str
=
RTL_CONSTANT_STRING
(
trayW
)
;
if
(
data
->
managed
)
return
TRUE
;
/* hide icons in desktop mode when the taskbar is active */
...
...
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