Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 595628 Details for
Bug 835997
Changes caused by mouse movement are not rendered after migration.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for keeping the count of motion msgs in sync between the server and the client
0001-migration-channel-inputs-reset-motion-count-after-mi.patch (text/plain), 1.78 KB, created by
Yonit Halperin
on 2012-07-02 06:06:56 UTC
(
hide
)
Description:
patch for keeping the count of motion msgs in sync between the server and the client
Filename:
MIME Type:
Creator:
Yonit Halperin
Created:
2012-07-02 06:06:56 UTC
Size:
1.78 KB
patch
obsolete
>From 08fbbb826b66a0bae385d561b5562704bd39c04a Mon Sep 17 00:00:00 2001 >From: Yonit Halperin <yhalperi@redhat.com> >Date: Mon, 2 Jul 2012 09:02:17 +0300 >Subject: [PATCH] migration/channel-inputs: reset motion count after migration > >After migration, the motion count must stay in sync with the server. >--- > gtk/channel-inputs.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/gtk/channel-inputs.c b/gtk/channel-inputs.c >index ef35065..02ac026 100644 >--- a/gtk/channel-inputs.c >+++ b/gtk/channel-inputs.c >@@ -69,6 +69,7 @@ static guint signals[SPICE_INPUTS_LAST_SIGNAL]; > > static void spice_inputs_handle_msg(SpiceChannel *channel, SpiceMsgIn *msg); > static void spice_inputs_channel_up(SpiceChannel *channel); >+static void spice_inputs_channel_reset(SpiceChannel *channel, gboolean migrating); > > /* ------------------------------------------------------------------ */ > >@@ -109,6 +110,7 @@ static void spice_inputs_channel_class_init(SpiceInputsChannelClass *klass) > gobject_class->get_property = spice_inputs_get_property; > channel_class->handle_msg = spice_inputs_handle_msg; > channel_class->channel_up = spice_inputs_channel_up; >+ channel_class->channel_reset = spice_inputs_channel_reset; > > g_object_class_install_property > (gobject_class, PROP_KEY_MODIFIERS, >@@ -583,3 +585,11 @@ static void spice_inputs_channel_up(SpiceChannel *channel) > msg = set_key_locks(SPICE_INPUTS_CHANNEL(channel), c->locks); > spice_msg_out_send_internal(msg); > } >+ >+static void spice_inputs_channel_reset(SpiceChannel *channel, gboolean migrating) >+{ >+ SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv; >+ c->motion_count = 0; >+ >+ SPICE_CHANNEL_CLASS(spice_inputs_channel_parent_class)->channel_reset(channel, migrating); >+} >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 835997
: 595628