Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
085f8a4f
Commit
085f8a4f
authored
Sep 19, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Sep 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxcompshad: delete trailing whitespace
parent
506378cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Core.cpp
nxcompshad/src/Core.cpp
+1
-1
X11.cpp
nxcompshad/src/X11.cpp
+7
-7
No files found.
nxcompshad/src/Core.cpp
View file @
085f8a4f
...
...
@@ -216,7 +216,7 @@ int CorePoller::isChanged(int (*checkIfInputCallback)(void *), void *arg, int *s
// In order to allow this function to
// be suspended and resumed later, we
// need to save these two status vars.
//
//
static
int
idxIlace
=
0
;
static
int
curLine
=
0
;
...
...
nxcompshad/src/X11.cpp
View file @
085f8a4f
...
...
@@ -236,7 +236,7 @@ char *Poller::getRect(XRectangle r)
else
{
image_
->
width
=
r
.
width
;
image_
->
height
=
r
.
height
;
image_
->
height
=
r
.
height
;
image_
->
bytes_per_line
=
ROUNDUP
((
image_
->
bits_per_pixel
*
image_
->
width
),
image_
->
bitmap_pad
);
...
...
@@ -1155,11 +1155,11 @@ SendKeycode:
if
(
XKeysymToKeycode
(
event
->
xkey
.
display
,
XK_A
)
!=
keycode
)
{
KeySym
keysym
=
XKeycodeToKeysym
(
event
->
xkey
.
display
,
event
->
xkey
.
keycode
,
0
);
if
(
keysym
==
XK_Mode_switch
||
keysym
==
XK_ISO_Level3_Shift
)
{
logUser
(
"Poller::handleKeyboardEvent: keysym [%x].
\n
"
,
(
unsigned
int
)
keysym
);
if
(
XKeycodeToKeysym
(
display_
,
113
,
0
)
==
XK_ISO_Level3_Shift
||
(
XKeycodeToKeysym
(
display_
,
124
,
0
)
==
XK_ISO_Level3_Shift
))
{
...
...
@@ -1169,7 +1169,7 @@ SendKeycode:
{
event
->
xkey
.
keycode
=
XKeysymToKeycode
(
display_
,
XK_Mode_switch
);
}
logUser
(
"Poller::handleKeyboardEvent: keycode translated to [%x].
\n
"
,
(
unsigned
int
)
event
->
xkey
.
keycode
);
}
else
...
...
@@ -1503,7 +1503,7 @@ void Poller::updateDamagedAreas(void)
int
i
;
int
y
;
for
(
i
=
0
;
i
<
lastUpdatedRegion_
->
numRects
;
i
++
)
{
boxPtr
=
lastUpdatedRegion_
->
rects
+
i
;
...
...
@@ -1515,7 +1515,7 @@ void Poller::updateDamagedAreas(void)
image_
->
bytes_per_line
=
ROUNDUP
((
image_
->
bits_per_pixel
*
image_
->
width
),
image_
->
bitmap_pad
);
if
(
XShmGetImage
(
display_
,
DefaultRootWindow
(
display_
),
image_
,
boxPtr
->
x1
,
boxPtr
->
y1
,
AllPlanes
)
==
0
)
{
...
...
@@ -1554,7 +1554,7 @@ void Poller::updateDamagedAreas(void)
{
update
(
image_
->
data
+
y
*
image_
->
bytes_per_line
,
rectangle
);
rectangle
.
y
++
;
rectangle
.
y
++
;
}
if
(
shmExtension_
!=
1
)
...
...
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