Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
tigervnc.7840
U_vncviewer-Fix-fullscreen-scrolling.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_vncviewer-Fix-fullscreen-scrolling.patch of Package tigervnc.7840
From e8d25d83463805c0f6ef623dba2ac9a276df3587 Mon Sep 17 00:00:00 2001 From: Luke Shumaker <lukeshu@lukeshu.com> Date: Tue, 23 May 2017 02:16:27 -0400 Subject: [PATCH] vncviewer: Fix fullscreen scrolling --- vncviewer/DesktopWindow.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 47fe8f89..946b162c 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -1120,11 +1120,6 @@ void DesktopWindow::scrollTo(int x, int y) hscroll->value(x); vscroll->value(y); - if (!hscroll->visible()) - x = -viewport->x(); - if (!vscroll->visible()) - y = -viewport->y(); - // Scrollbar position results in inverse movement of // the viewport widget x = -x; @@ -1189,7 +1184,7 @@ void DesktopWindow::handleEdgeScroll(void *data) if ((dx == 0) && (dy == 0)) return; - self->scrollTo(self->hscroll->value() + dx, self->vscroll->value() + dy); + self->scrollTo(self->hscroll->value() - dx, self->vscroll->value() - dy); Fl::repeat_timeout(0.1, handleEdgeScroll, data); } -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor