summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-09-14 02:38:48 -0700
committerraveit65 <[email protected]>2020-10-24 16:49:14 +0200
commit590bedf604ccc05cb9e41c3fc15d93ff827e7f65 (patch)
treed2f912b0867e8c8efcc22a1d3198dc6b3eb4150e /src/daemon/daemon.c
parent550f2a11921b48bc1c876b5e7fcc42cc2a4da07f (diff)
downloadmate-notification-daemon-590bedf604ccc05cb9e41c3fc15d93ff827e7f65.tar.bz2
mate-notification-daemon-590bedf604ccc05cb9e41c3fc15d93ff827e7f65.tar.xz
Implement placement on Wayland
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 7981bb0..c42b2e6 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -45,11 +45,6 @@
#include <libwnck/libwnck.h>
#endif // HAVE_X11
-#ifdef HAVE_WAYLAND
-#include <gdk/gdkwayland.h>
-#include "wayland.h"
-#endif // HAVE_WAYLAND
-
#include "daemon.h"
#include "engines.h"
#include "stack.h"
@@ -1374,14 +1369,6 @@ static gboolean notify_daemon_notify_handler(NotifyDaemonNotifications *object,
{
nw = theme_create_notification (url_clicked_cb);
g_object_set_data (G_OBJECT (nw), "_notify_daemon", daemon);
-
-#if HAVE_WAYLAND
- if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ()))
- {
- wayland_init_notification (nw);
- }
-#endif // HAVE_WAYLAND
-
gtk_widget_realize (GTK_WIDGET (nw));
new_notification = TRUE;