Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(121)

Issue 290780043: Add SetCursorLocationRelative D-Bus method (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 9 months ago by Daiki Ueno
Modified:
8 years, 9 months ago
Reviewers:
shawn.p.huang, fujiwara, Peng, tiagomatos
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Add SetCursorLocationRelative D-Bus method We have SetCursorLocation D-Bus method which takes the absolute coordinates of the screen, while on Wayland the coordinates are relative to the current input window and there is no way to calculate the absolute coordinates. That makes it impossible for the panel to position the lookup table correctly. This patch adds a new D-Bus method, SetCursorLocationRelative, which takes the relative coordinates, so that the panel implementation (typically the same process of Wayland compositor) can use that information. The counterpart of this changes is at: https://bugzilla.gnome.org/show_bug.cgi?id=753476 Unlike SetCursorLocation, SetCursorLocationRelative is not delivered to engines, since it is not very useful for the engines without knowing the current input window (which is also not accessible from a different process on Wayland). Co-authored-by: Rui Matos <tiagomatos@gmail.com> BUG= R=takao.fujiwara1@gmail.com Committed: b51c6200686d5494f317f8675763bad5cdd442b2

Patch Set 1 #

Total comments: 5

Patch Set 2 : address the review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -1 line) Patch
M bus/inputcontext.c View 5 chunks +54 lines, -0 lines 0 comments Download
M bus/panelproxy.h View 1 chunk +6 lines, -0 lines 0 comments Download
M bus/panelproxy.c View 3 chunks +32 lines, -0 lines 0 comments Download
M client/gtk2/ibusimcontext.c View 1 2 chunks +28 lines, -0 lines 0 comments Download
M src/ibusinputcontext.h View 1 chunk +16 lines, -0 lines 0 comments Download
M src/ibusinputcontext.c View 1 chunk +20 lines, -0 lines 0 comments Download
M src/ibuspanelservice.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/ibuspanelservice.c View 7 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 8
Daiki Ueno
8 years, 9 months ago (2016-02-13 06:35:04 UTC) #1
Peng
On 2016/02/13 06:35:04, Daiki Ueno wrote: Why we can not get the absolute coordinates? Is ...
8 years, 9 months ago (2016-02-13 20:41:53 UTC) #2
Daiki Ueno
On 2016/02/13 20:41:53, Peng wrote: > On 2016/02/13 06:35:04, Daiki Ueno wrote: > > Why ...
8 years, 9 months ago (2016-02-14 02:28:01 UTC) #3
Peng
On 2016/02/14 02:28:01, Daiki Ueno wrote: > On 2016/02/13 20:41:53, Peng wrote: > > On ...
8 years, 9 months ago (2016-02-14 21:55:26 UTC) #4
fujiwara
> Signed-off-by: Daiki Ueno <ueno@gnu.org> I think git-cl does not enable the signed commit. https://codereview.appspot.com/290780043/diff/1/client/gtk2/ibusimcontext.c ...
8 years, 9 months ago (2016-02-15 08:50:35 UTC) #5
Daiki Ueno
Removed "Signed-off-by". https://codereview.appspot.com/290780043/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (right): https://codereview.appspot.com/290780043/diff/1/client/gtk2/ibusimcontext.c#newcode1027 client/gtk2/ibusimcontext.c:1027: area.x = px; On 2016/02/15 08:50:35, fujiwara ...
8 years, 9 months ago (2016-02-16 08:58:51 UTC) #6
fujiwara
lgtm, thx. https://codereview.appspot.com/290780043/diff/1/client/gtk2/ibusimcontext.c File client/gtk2/ibusimcontext.c (right): https://codereview.appspot.com/290780043/diff/1/client/gtk2/ibusimcontext.c#newcode1027 client/gtk2/ibusimcontext.c:1027: area.x = px; On 2016/02/16 08:58:51, Daiki ...
8 years, 9 months ago (2016-02-16 09:42:00 UTC) #7
Daiki Ueno
8 years, 9 months ago (2016-02-17 07:29:08 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b51c6200686d5494f317f8675763bad5cdd442b2 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b