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
2bbf00ed
Commit
2bbf00ed
authored
Apr 29, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't put window manager decorations on shaped windows.
parent
4e761d26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
window.c
dlls/winex11.drv/window.c
+3
-0
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-0
No files found.
dlls/winex11.drv/window.c
View file @
2bbf00ed
...
...
@@ -163,6 +163,7 @@ static unsigned long get_mwm_decorations( struct x11drv_win_data *data,
if
(
!
decorated_mode
)
return
0
;
if
(
IsRectEmpty
(
&
data
->
window_rect
))
return
0
;
if
(
data
->
shaped
)
return
0
;
if
(
ex_style
&
WS_EX_TOOLWINDOW
)
return
0
;
...
...
@@ -321,6 +322,7 @@ static void sync_window_region( Display *display, struct x11drv_win_data *data,
{
#ifdef HAVE_LIBXSHAPE
if
(
!
data
->
whole_window
)
return
;
data
->
shaped
=
FALSE
;
if
(
!
hrgn
)
{
...
...
@@ -341,6 +343,7 @@ static void sync_window_region( Display *display, struct x11drv_win_data *data,
pRegionData
->
rdh
.
nCount
,
ShapeSet
,
YXBanded
);
wine_tsx11_unlock
();
HeapFree
(
GetProcessHeap
(),
0
,
pRegionData
);
data
->
shaped
=
TRUE
;
}
}
#endif
/* HAVE_LIBXSHAPE */
...
...
dlls/winex11.drv/x11drv.h
View file @
2bbf00ed
...
...
@@ -690,6 +690,7 @@ struct x11drv_win_data
BOOL
mapped
:
1
;
/* is window mapped? (in either normal or iconic state) */
BOOL
iconic
:
1
;
/* is window in iconic state? */
BOOL
embedded
:
1
;
/* is window an XEMBED client? */
BOOL
shaped
:
1
;
/* is window using a custom region shape? */
int
wm_state
;
/* current value of the WM_STATE property */
DWORD
net_wm_state
;
/* bit mask of active x11drv_net_wm_state values */
HBITMAP
hWMIconBitmap
;
...
...
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