Thread (5 messages) 5 messages, 3 authors, 2012-09-25

Re: [PATCH resend] N-Trig: change default value of logical/physical width/height to 1

From: Jiri Kosina <hidden>
Date: 2012-09-25 13:23:21

On Tue, 25 Sep 2012, Rafi Rubin wrote:
quoted
Since something will be divided by these variables in 
show_min_width()/show_min_height() and show_activate_width()/ 
show_activate_height(), a divided error would be triggered if they are
zero.
Fair point about the divide by zero.  Would it be preferable to use real
values.  As far as I know these devices all have logical dimensions of
9600x7200.  Unfortunately both logical and physical are used as denominators,
so 1 for the physicals is probably sensible.
Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help