[PATCH] Improve detection of input device source type

2009-09-28 Thread Thomas Jaeger
This is necessary since wacom devices don't have predictable names anymore. Please let me know if I need to open a bug report for this issue. Thanks, Tom From 7da510d97207bb1dda3cb370701758528a91eff2 Mon Sep 17 00:00:00 2001 From: Thomas Jaeger thjae...@gmail.com Date: Mon, 28 Sep 2009 01:39:42

Re: [PATCH] Improve detection of input device source type

2009-09-28 Thread Alexander Larsson
On Mon, 2009-09-28 at 02:00 -0400, Thomas Jaeger wrote: This is necessary since wacom devices don't have predictable names anymore. Please let me know if I need to open a bug report for this issue. Looks sane to me. Pushed. ___ gtk-devel-list

Are Out-of-Tree Widgets Second-Class Citizens?

2009-09-28 Thread Morten Welinder
A long time ago GTK+ was a collection of widgets. If you did not like what you had, you could grab the source of one of the widgets and change it to do whatever you needed it to do. This is increasing no longer the case -- in-tree Gtk+ are now special and programmed using a different API than

Re: [PATCH] Improve detection of input device source type

2009-09-28 Thread Sven Neumann
Hi, On Mon, 2009-09-28 at 02:00 -0400, Thomas Jaeger wrote: - if (!strcmp (tmp_name, pointer)) -gdkdev-info.source = GDK_SOURCE_MOUSE; - else if (!strcmp (tmp_name, wacom) || - !strcmp (tmp_name, pen)) -gdkdev-info.source = GDK_SOURCE_PEN; - else if (!strcmp (tmp_name,

Re: [PATCH] Improve detection of input device source type

2009-09-28 Thread Thomas Jaeger
Sven Neumann wrote: Hi, On Mon, 2009-09-28 at 02:00 -0400, Thomas Jaeger wrote: - if (!strcmp (tmp_name, pointer)) -gdkdev-info.source = GDK_SOURCE_MOUSE; - else if (!strcmp (tmp_name, wacom) || - !strcmp (tmp_name, pen)) -gdkdev-info.source = GDK_SOURCE_PEN; - else

Re: Are Out-of-Tree Widgets Second-Class Citizens?

2009-09-28 Thread Allin Cottrell
On Mon, 28 Sep 2009, Morten Welinder wrote: A long time ago GTK+ was a collection of widgets. If you did not like what you had, you could grab the source of one of the widgets and change it to do whatever you needed it to do. This is increasing no longer the case -- in-tree Gtk+ are now

Re: Are Out-of-Tree Widgets Second-Class Citizens?

2009-09-28 Thread Brian J. Tarricone
On 09/28/2009 06:11 PM, Allin Cottrell wrote: I'm not sure if the solution Morten advocates -- namely, applying the GSEAL principle internally -- is the best one, although maybe it is. It's not even necessary. Gtk can access struct members directly if desired (for performance reasons, or