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
5bdbbee6
Commit
5bdbbee6
authored
May 26, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Rely on win32u to reset clipping on display mode change.
parent
18cb5558
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
desktop.c
dlls/winex11.drv/desktop.c
+0
-1
mouse.c
dlls/winex11.drv/mouse.c
+1
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-1
No files found.
dlls/winex11.drv/desktop.c
View file @
5bdbbee6
...
...
@@ -446,7 +446,6 @@ void X11DRV_resize_desktop(void)
NtUserSetWindowPos
(
hwnd
,
0
,
virtual_rect
.
left
,
virtual_rect
.
top
,
virtual_rect
.
right
-
virtual_rect
.
left
,
virtual_rect
.
bottom
-
virtual_rect
.
top
,
SWP_NOZORDER
|
SWP_NOACTIVATE
|
SWP_DEFERERASE
);
ungrab_clipping_window
();
if
(
old_virtual_rect
.
left
!=
virtual_rect
.
left
||
old_virtual_rect
.
top
!=
virtual_rect
.
top
)
send_message_timeout
(
HWND_BROADCAST
,
WM_X11DRV_DESKTOP_RESIZED
,
old_virtual_rect
.
left
,
...
...
dlls/winex11.drv/mouse.c
View file @
5bdbbee6
...
...
@@ -455,7 +455,7 @@ static BOOL grab_clipping_window( const RECT *clip )
*
* Release the pointer grab on the clip window.
*/
void
ungrab_clipping_window
(
void
)
static
void
ungrab_clipping_window
(
void
)
{
Display
*
display
=
thread_init_display
();
Window
clip_window
=
init_clip_window
();
...
...
dlls/winex11.drv/x11drv.h
View file @
5bdbbee6
...
...
@@ -686,7 +686,6 @@ extern void set_window_cursor( Window window, HCURSOR handle ) DECLSPEC_HIDDEN;
extern
void
sync_window_cursor
(
Window
window
)
DECLSPEC_HIDDEN
;
extern
LRESULT
clip_cursor_notify
(
HWND
hwnd
,
HWND
prev_clip_hwnd
,
HWND
new_clip_hwnd
)
DECLSPEC_HIDDEN
;
extern
LRESULT
clip_cursor_request
(
HWND
hwnd
,
BOOL
fullscreen
,
BOOL
reset
)
DECLSPEC_HIDDEN
;
extern
void
ungrab_clipping_window
(
void
)
DECLSPEC_HIDDEN
;
extern
void
reset_clipping_window
(
void
)
DECLSPEC_HIDDEN
;
extern
void
retry_grab_clipping_window
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
clip_fullscreen_window
(
HWND
hwnd
,
BOOL
reset
)
DECLSPEC_HIDDEN
;
...
...
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