Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146945 Details for
Bug 143177
app-text/xournal (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from sourceforge bug 1891727
xo-callbacks-xorg73.patch (text/plain), 1.20 KB, created by
Gautam Iyer
on 2008-03-22 21:28:35 UTC
(
hide
)
Description:
Patch from sourceforge bug 1891727
Filename:
MIME Type:
Creator:
Gautam Iyer
Created:
2008-03-22 21:28:35 UTC
Size:
1.20 KB
patch
obsolete
>--- xo-callbacks.c.orig 2007-09-15 21:17:27.000000000 -0400 >+++ xo-callbacks.c 2008-03-17 22:29:12.000000000 -0400 >@@ -2348,9 +2348,16 @@ > gdk_device_get_state(event->device, event->window, event->axes, NULL); > fix_xinput_coords((GdkEvent *)event); > } >+ if (!finite(event->x) || !finite(event->y)) return FALSE; // Xorg 7.3 bug > > if (ui.cur_item_type == ITEM_TEXT && !is_event_within_textview(event)) > end_text(); >+ if (ui.cur_item_type == ITEM_STROKE && ui.is_corestroke && !is_core && >+ ui.cur_path.num_points == 1) { >+ // Xorg 7.3+ sent core event before XInput event: fix initial point >+ ui.is_corestroke = FALSE; >+ get_pointer_coords((GdkEvent *)event, ui.cur_path.coords); >+ } > if (ui.cur_item_type != ITEM_NONE) return FALSE; // we're already doing something > > ui.is_corestroke = is_core; >@@ -2523,6 +2530,8 @@ > if (!ui.use_xinput && !is_core) return FALSE; > if (ui.use_xinput && is_core && !ui.is_corestroke) return FALSE; > if (!is_core) fix_xinput_coords((GdkEvent *)event); >+ if (!finite(event->x) || !finite(event->y)) return FALSE; // Xorg 7.3 bug >+ if (!is_core) ui.is_corestroke = FALSE; > > looks_wrong = !(event->state & (1<<(7+ui.which_mouse_button))); >
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 143177
:
104526
|
114694
|
125143
|
142839
|
143833
|
144389
|
146943
|
146945
|
147220
|
147511
|
147598