Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4d6c59e1
Commit
4d6c59e1
authored
Dec 02, 2003
by
Peter Berg Larsen
Committed by
Alexandre Julliard
Dec 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- the last event was not looked at when compressing console events
- better compression for UPDATE_EVENTs as they are not influenced by CURSOR_POS or CURSOR_GEOM - added debug traces
parent
dce7644b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
wineconsole.c
programs/wineconsole/wineconsole.c
+8
-4
No files found.
programs/wineconsole/wineconsole.c
View file @
4d6c59e1
...
...
@@ -234,16 +234,18 @@ int WINECON_GrabChanges(struct inner_data* data)
}
/* step 2: manage update events */
ev_found
=
-
1
;
for
(
i
=
0
;
i
<
num
-
1
;
i
++
)
for
(
i
=
0
;
i
<
num
;
i
++
)
{
if
(
evts
[
i
].
event
==
CONSOLE_RENDERER_NONE_EVENT
)
continue
;
if
(
evts
[
i
].
event
==
CONSOLE_RENDERER_NONE_EVENT
||
evts
[
i
].
event
==
CONSOLE_RENDERER_CURSOR_POS_EVENT
||
evts
[
i
].
event
==
CONSOLE_RENDERER_CURSOR_GEOM_EVENT
)
continue
;
if
(
evts
[
i
].
event
!=
CONSOLE_RENDERER_UPDATE_EVENT
)
{
ev_found
=
-
1
;
continue
;
}
}
if
(
ev_found
!=
-
1
&&
if
(
ev_found
!=
-
1
&&
/* Only 2 cases where they can NOT merge */
!
(
evts
[
i
].
u
.
update
.
bottom
+
1
<
evts
[
ev_found
].
u
.
update
.
top
||
evts
[
ev_found
].
u
.
update
.
bottom
+
1
<
evts
[
i
].
u
.
update
.
top
))
{
...
...
@@ -262,8 +264,10 @@ int WINECON_GrabChanges(struct inner_data* data)
switch
(
evts
[
i
].
event
)
{
case
CONSOLE_RENDERER_NONE_EVENT
:
WINE_TRACE
(
" NOP"
);
break
;
case
CONSOLE_RENDERER_TITLE_EVENT
:
WINE_TRACE
(
" title()"
);
data
->
fnSetTitle
(
data
);
break
;
case
CONSOLE_RENDERER_ACTIVE_SB_EVENT
:
...
...
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