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
13820b6f
Commit
13820b6f
authored
Aug 13, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't set MWM decorations either for fullscreen virtual desktops.
parent
b3b390d8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
desktop.c
dlls/winex11.drv/desktop.c
+5
-0
window.c
dlls/winex11.drv/window.c
+2
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-0
No files found.
dlls/winex11.drv/desktop.c
View file @
13820b6f
...
...
@@ -203,6 +203,11 @@ static BOOL CALLBACK update_windows_on_desktop_resize( HWND hwnd, LPARAM lparam
return
TRUE
;
}
BOOL
is_desktop_fullscreen
(
void
)
{
return
screen_width
==
max_width
&&
screen_height
==
max_height
;
}
static
void
update_desktop_fullscreen
(
unsigned
int
width
,
unsigned
int
height
)
{
Display
*
display
=
thread_display
();
...
...
dlls/winex11.drv/window.c
View file @
13820b6f
...
...
@@ -1063,7 +1063,8 @@ static void set_mwm_hints( Display *display, struct x11drv_win_data *data, DWORD
if
(
data
->
hwnd
==
GetDesktopWindow
())
{
mwm_hints
.
decorations
=
MWM_DECOR_TITLE
|
MWM_DECOR_BORDER
|
MWM_DECOR_MENU
|
MWM_DECOR_MINIMIZE
;
if
(
is_desktop_fullscreen
())
mwm_hints
.
decorations
=
0
;
else
mwm_hints
.
decorations
=
MWM_DECOR_TITLE
|
MWM_DECOR_BORDER
|
MWM_DECOR_MENU
|
MWM_DECOR_MINIMIZE
;
mwm_hints
.
functions
=
MWM_FUNC_MOVE
|
MWM_FUNC_MINIMIZE
|
MWM_FUNC_CLOSE
;
}
else
...
...
dlls/winex11.drv/x11drv.h
View file @
13820b6f
...
...
@@ -649,6 +649,7 @@ struct x11drv_mode_info
extern
void
X11DRV_init_desktop
(
Window
win
,
unsigned
int
width
,
unsigned
int
height
)
DECLSPEC_HIDDEN
;
extern
void
X11DRV_resize_desktop
(
unsigned
int
width
,
unsigned
int
height
)
DECLSPEC_HIDDEN
;
BOOL
is_desktop_fullscreen
(
void
)
DECLSPEC_HIDDEN
;
extern
void
X11DRV_Settings_AddDepthModes
(
void
)
DECLSPEC_HIDDEN
;
extern
void
X11DRV_Settings_AddOneMode
(
unsigned
int
width
,
unsigned
int
height
,
unsigned
int
bpp
,
unsigned
int
freq
)
DECLSPEC_HIDDEN
;
unsigned
int
X11DRV_Settings_GetModeCount
(
void
)
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