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
0852aa52
Commit
0852aa52
authored
Jul 13, 2017
by
Ulrich Sibiller
Committed by
Mike Gabriel
Dec 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always notify on size changes
this ensures that randr updates its private structures
parent
1923f49d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+1
-7
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
0852aa52
...
...
@@ -3675,7 +3675,6 @@ RRModePtr nxagentRRCustomMode = NULL;
*/
void
nxagentAdjustCustomMode
(
ScreenPtr
pScreen
)
{
int
doNotify
=
TRUE
;
rrScrPrivPtr
pScrPriv
=
rrGetScrPriv
(
pScreen
);
RROutputPtr
output
;
...
...
@@ -3735,8 +3734,6 @@ void nxagentAdjustCustomMode(ScreenPtr pScreen)
RRCrtcSet
(
crtc
,
nxagentRRCustomMode
,
0
,
0
,
RR_Rotate_0
,
1
,
&
output
);
RROutputChanged
(
output
,
1
);
doNotify
=
FALSE
;
}
pScrPriv
->
lastSetTime
=
currentTime
;
...
...
@@ -3745,10 +3742,7 @@ void nxagentAdjustCustomMode(ScreenPtr pScreen)
pScrPriv
->
configChanged
=
1
;
}
/* if (pScrPriv) */
if
(
doNotify
)
{
RRScreenSizeNotify
(
pScreen
);
}
RRScreenSizeNotify
(
pScreen
);
}
int
nxagentChangeScreenConfig
(
int
screen
,
int
width
,
int
height
,
int
mmWidth
,
int
mmHeight
)
...
...
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