diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2021-11-18 15:51:43 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2021-12-14 22:34:21 -0300 |
commit | 816e6203e3d263d6eef1467f40b7c61290c33729 (patch) | |
tree | c8c05b94472084a34a083959583b0e5724da09da /shell | |
parent | f598fb3ed6af1b82fceeea4ddbfff59b857951e1 (diff) |
wacom: Port to GTK4
Many part of this commit were made by Carlos
Garnacho <carlosg@gnome.org>
WIP wacom: Port to GTK4
Lots of stuff missing and probably broken.
wacom: Port CcDrawingArea input to gestures
We have a handy GtkGestureStylus to use here, which avoids direct
handling of GdkEvents.
wacom: Update current stylus tracking to GtkGestureStylus
Use the ::proximity signal to notice when we are being hovered with
a tablet stylus, and look up the tool from there.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cc-panel-loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c index a3622ef86..31db92748 100644 --- a/shell/cc-panel-loader.c +++ b/shell/cc-panel-loader.c @@ -63,7 +63,7 @@ extern GType cc_bolt_panel_get_type (void); extern GType cc_ua_panel_get_type (void); //extern GType cc_user_panel_get_type (void); #ifdef BUILD_WACOM -//extern GType cc_wacom_panel_get_type (void); +extern GType cc_wacom_panel_get_type (void); #endif /* BUILD_WACOM */ #ifdef BUILD_WWAN //extern GType cc_wwan_panel_get_type (void); @@ -81,7 +81,7 @@ extern void cc_diagnostics_panel_static_init_func (void); //extern void cc_wifi_panel_static_init_func (void); #endif /* BUILD_NETWORK */ #ifdef BUILD_WACOM -//extern void cc_wacom_panel_static_init_func (void); +extern void cc_wacom_panel_static_init_func (void); #endif /* BUILD_WACOM */ #ifdef BUILD_WWAN //extern void cc_wwan_panel_static_init_func (void); @@ -135,7 +135,7 @@ static CcPanelLoaderVtable default_panels[] = PANEL_TYPE("usage", cc_usage_panel_get_type, NULL), //PANEL_TYPE("user-accounts", cc_user_panel_get_type, NULL), #ifdef BUILD_WACOM - //PANEL_TYPE("wacom", cc_wacom_panel_get_type, cc_wacom_panel_static_init_func), + PANEL_TYPE("wacom", cc_wacom_panel_get_type, cc_wacom_panel_static_init_func), #endif #ifdef BUILD_WWAN //PANEL_TYPE("wwan", cc_wwan_panel_get_type, cc_wwan_panel_static_init_func), |