Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
eef3b9d9
Commit
eef3b9d9
authored
Jan 12, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not assume long integers are 32-bits.
Should fix fullscreen on amd64 - closes #670
parent
4413cbfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/gui/skins2/x11/x11_window.cpp
modules/gui/skins2/x11/x11_window.cpp
+6
-6
No files found.
modules/gui/skins2/x11/x11_window.cpp
View file @
eef3b9d9
...
@@ -73,18 +73,18 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
...
@@ -73,18 +73,18 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
// Changing decorations
// Changing decorations
struct
{
struct
{
u
nsigned
long
flags
;
u
int32_t
flags
;
u
nsigned
long
functions
;
u
int32_t
functions
;
u
nsigned
long
decorations
;
u
int32_t
decorations
;
long
input_mode
;
int32_t
input_mode
;
u
nsigned
long
status
;
u
int32_t
status
;
}
motifWmHints
;
}
motifWmHints
;
Atom
hints_atom
=
XInternAtom
(
XDISPLAY
,
"_MOTIF_WM_HINTS"
,
False
);
Atom
hints_atom
=
XInternAtom
(
XDISPLAY
,
"_MOTIF_WM_HINTS"
,
False
);
motifWmHints
.
flags
=
2
;
// MWM_HINTS_DECORATIONS;
motifWmHints
.
flags
=
2
;
// MWM_HINTS_DECORATIONS;
motifWmHints
.
decorations
=
0
;
motifWmHints
.
decorations
=
0
;
XChangeProperty
(
XDISPLAY
,
m_wnd
,
hints_atom
,
hints_atom
,
32
,
XChangeProperty
(
XDISPLAY
,
m_wnd
,
hints_atom
,
hints_atom
,
32
,
PropModeReplace
,
(
unsigned
char
*
)
&
motifWmHints
,
PropModeReplace
,
(
unsigned
char
*
)
&
motifWmHints
,
sizeof
(
motifWmHints
)
/
sizeof
(
long
)
);
sizeof
(
motifWmHints
)
/
sizeof
(
uint32_t
)
);
// Drag & drop
// Drag & drop
if
(
m_dragDrop
)
if
(
m_dragDrop
)
...
...
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