Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
bf4c6767
Commit
bf4c6767
authored
Oct 01, 2020
by
Vlad Zahorodnii
Browse files
3rdparty: Synchronize xcursor.{c,h}
parent
1e9bd433
Changes
2
Hide whitespace changes
Inline
Side-by-side
3rdparty/xcursor.c
View file @
bf4c6767
...
...
@@ -285,10 +285,11 @@ _XcursorReadUInt (XcursorFile *file, XcursorUInt *u)
if
((
*
file
->
read
)
(
file
,
bytes
,
4
)
!=
4
)
return
XcursorFalse
;
*
u
=
((
bytes
[
0
]
<<
0
)
|
(
bytes
[
1
]
<<
8
)
|
(
bytes
[
2
]
<<
16
)
|
(
bytes
[
3
]
<<
24
));
*
u
=
((
XcursorUInt
)(
bytes
[
0
])
<<
0
)
|
((
XcursorUInt
)(
bytes
[
1
])
<<
8
)
|
((
XcursorUInt
)(
bytes
[
2
])
<<
16
)
|
((
XcursorUInt
)(
bytes
[
3
])
<<
24
);
return
XcursorTrue
;
}
...
...
3rdparty/xcursor.h
View file @
bf4c6767
...
...
@@ -30,8 +30,10 @@
extern
"C"
{
#endif
#include
<stdint.h>
typedef
int
XcursorBool
;
typedef
u
nsigned
in
t
XcursorUInt
;
typedef
u
int32_
t
XcursorUInt
;
typedef
XcursorUInt
XcursorDim
;
typedef
XcursorUInt
XcursorPixel
;
...
...
Vlad Zahorodnii
@vladz
mentioned in commit
dac3c29d
·
Oct 01, 2020
mentioned in commit
dac3c29d
mentioned in commit dac3c29da667941c4f82ed147b202da3f4d85d96
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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