Re: High-resolution scroll events

2010-11-17 Thread Sven Herzberg
Hi, Am Mittwoch, den 17.11.2010, 16:25 +0100 schrieb Max Schwarz: > > > Do you have an idea on how to implement this? I think Qt's model is quite > > > nice, they have a 'delta' field in their event [3] which gives more > > > precise information. Of course, If you want to retain API compability >

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 11:17 AM, Shaun McCance wrote: > If we break API on this, I think it would be best to do it > in a way that the compiler catches it. Just adding a field > to GdkEventScroll will trip up a lot of developers. Not really. There is (1) no change in the structure size (2) no ch

Re: High-resolution scroll events

2010-11-17 Thread Shaun McCance
On Wed, 2010-11-17 at 16:53 +0100, Max Schwarz wrote: > Am Mittwoch, 17. November 2010, um 16:40:16 schrieben Sie: > > On Wed, Nov 17, 2010 at 10:25 AM, Max Schwarz wrote: > > > The problem is not with large deltas (which are thrown away in the > > > current OSX version, if I understand the patch

Re: High-resolution scroll events

2010-11-17 Thread Max Schwarz
Am Mittwoch, 17. November 2010, um 16:40:16 schrieben Sie: > On Wed, Nov 17, 2010 at 10:25 AM, Max Schwarz wrote: > > The problem is not with large deltas (which are thrown away in the > > current OSX version, if I understand the patch correctly), but with > > small deltas, which get emitted from

CSS3 Flexible Box Layout Module

2010-11-17 Thread Behdad Esfahbod
FYI http://dev.w3.org/csswg/css3-flexbox/ behdad ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 10:25 AM, Max Schwarz wrote: > The problem is not with large deltas (which are thrown away in the current OSX > version, if I understand the patch correctly), but with small deltas, which > get emitted from Xorg with a pretty high frequency. my initial response to this wa

Re: High-resolution scroll events

2010-11-17 Thread Max Schwarz
Hi, > > Do you have an idea on how to implement this? I think Qt's model is quite > > nice, they have a 'delta' field in their event [3] which gives more > > precise information. Of course, If you want to retain API compability > > (which I think you do) a new event would have to be introduced tha

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 9:56 AM, Sven Herzberg wrote: > No, you don't have to. Here is a patch for the Mac OS X backend which > implements this. (Let me check tonight whether I can find my cleaned up > version and attach it to that bug.) > > https://bugzilla.gnome.org/show_bug.cgi?id=516725 heh

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 7:29 AM, Max Schwarz wrote: > Do you have an idea on how to implement this? I think Qt's model is quite > nice, they have a 'delta' field in their event [3] which gives more precise > information. Of course, If you want to retain API compability (which I think > you do) a

Re: High-resolution scroll events

2010-11-17 Thread Sven Herzberg
Hi, Am Mittwoch, den 17.11.2010, 13:29 +0100 schrieb Max Schwarz: > Do you have an idea on how to implement this? I think Qt's model is quite > nice, they have a 'delta' field in their event [3] which gives more precise > information. Of course, If you want to retain API compability (which I thi

Re: High-resolution scroll events

2010-11-17 Thread Carlos Garnacho
Hi!, On Wed, 2010-11-17 at 13:29 +0100, Max Schwarz wrote: > Hi, > > I'm currently developing patches for the X11 ecosystem to provide higher- > resolution scrolling for devices that support it (touchpads, trackpoints, > etc). My patches are kept in a github repo ([1]). Was aware of your work,

High-resolution scroll events

2010-11-17 Thread Max Schwarz
Hi, I'm currently developing patches for the X11 ecosystem to provide higher- resolution scrolling for devices that support it (touchpads, trackpoints, etc). My patches are kept in a github repo ([1]). It looks like my patch will get merged into Xorg eventually (see my thread over at xorg-devel

Re: Replacing gdk_display_open(char*)

2010-11-17 Thread Maarten Bosmans
2010/11/16 Petr Tomasek : > On Tue, Nov 16, 2010 at 09:15:43PM +, Ross Burton wrote: >> What is stopping you using the GDK API to get the extents of the >> monitors from the unified "screen" and say positioning the speakers >> notes on one monitor and the presentation on the other? > > There ar