Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Gautam Chitnis
web-ui-redesign
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
Hide 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,
// Changing decorations
struct
{
u
nsigned
long
flags
;
u
nsigned
long
functions
;
u
nsigned
long
decorations
;
long
input_mode
;
u
nsigned
long
status
;
u
int32_t
flags
;
u
int32_t
functions
;
u
int32_t
decorations
;
int32_t
input_mode
;
u
int32_t
status
;
}
motifWmHints
;
Atom
hints_atom
=
XInternAtom
(
XDISPLAY
,
"_MOTIF_WM_HINTS"
,
False
);
motifWmHints
.
flags
=
2
;
// MWM_HINTS_DECORATIONS;
motifWmHints
.
decorations
=
0
;
XChangeProperty
(
XDISPLAY
,
m_wnd
,
hints_atom
,
hints_atom
,
32
,
PropModeReplace
,
(
unsigned
char
*
)
&
motifWmHints
,
sizeof
(
motifWmHints
)
/
sizeof
(
long
)
);
sizeof
(
motifWmHints
)
/
sizeof
(
uint32_t
)
);
// Drag & drop
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