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
2431a644
Commit
2431a644
authored
Jul 27, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There's no need to update the event mask in X11DRV_sync_window_style,
it never changes.
parent
d219a54e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
window.c
dlls/x11drv/window.c
+6
-7
No files found.
dlls/x11drv/window.c
View file @
2431a644
...
...
@@ -130,12 +130,7 @@ static int get_window_attributes( struct x11drv_win_data *data, XSetWindowAttrib
attr
->
colormap
=
X11DRV_PALETTE_PaletteXColormap
;
attr
->
save_under
=
((
GetClassLongW
(
data
->
hwnd
,
GCL_STYLE
)
&
CS_SAVEBITS
)
!=
0
);
attr
->
cursor
=
x11drv_thread_data
()
->
cursor
;
attr
->
event_mask
=
(
ExposureMask
|
PointerMotionMask
|
ButtonPressMask
|
ButtonReleaseMask
|
EnterWindowMask
|
KeyPressMask
|
KeyReleaseMask
|
StructureNotifyMask
|
FocusChangeMask
|
KeymapStateMask
);
return
(
CWOverrideRedirect
|
CWSaveUnder
|
CWEventMask
|
CWColormap
|
CWCursor
);
return
(
CWOverrideRedirect
|
CWSaveUnder
|
CWColormap
|
CWCursor
);
}
...
...
@@ -663,7 +658,11 @@ static Window create_whole_window( Display *display, struct x11drv_win_data *dat
/* set the attributes that don't change over the lifetime of the window */
attr
.
bit_gravity
=
NorthWestGravity
;
attr
.
backing_store
=
NotUseful
;
mask
|=
CWBitGravity
|
CWBackingStore
;
attr
.
event_mask
=
(
ExposureMask
|
PointerMotionMask
|
ButtonPressMask
|
ButtonReleaseMask
|
EnterWindowMask
|
KeyPressMask
|
KeyReleaseMask
|
StructureNotifyMask
|
FocusChangeMask
|
KeymapStateMask
);
mask
|=
CWBitGravity
|
CWBackingStore
|
CWEventMask
;
wine_tsx11_lock
();
...
...
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