Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csd-wacom: remove ifdef code that cannot compile #395

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions plugins/wacom/csd-wacom-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
#include "csd-enums.h"
#include "cinnamon-settings-profile.h"

#if HAVE_WAYLAND
#include "cinnamon-settings-bus.h"
#endif

#include "csd-wacom-manager.h"
#include "csd-wacom-oled.h"
#include "migrate-settings.h"
Expand Down Expand Up @@ -193,12 +189,7 @@ csd_wacom_manager_class_init (CsdWacomManagerClass *klass)
static gchar *
get_device_path (GdkDevice *device)
{
#if HAVE_WAYLAND
if (gnome_settings_is_wayland ())
return g_strdup (gdk_wayland_device_get_node_path (device));
else
#endif
return xdevice_get_device_node (gdk_x11_device_get_id (device));
return xdevice_get_device_node (gdk_x11_device_get_id (device));
}

static gboolean
Expand Down
Loading