1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/x11/deforaos-locker/files/patch-locker.c.diff
William Grzybowski eb0b807fff x11/deforaos-locker: allow staging
- Allow staging
- Bump port revision for libdesktop update
- Convert lib depends to new format

PR:		ports/183637
Submitted by:	maintainer
2013-11-04 20:08:04 +00:00

16 lines
606 B
Diff

--- src/locker.c.orig 2013-11-03 22:28:05.640455922 +0100
+++ src/locker.c 2013-11-03 22:30:35.005447608 +0100
@@ -268,8 +268,10 @@
GDK_WINDOW_XID(root), ScreenSaverNotifyMask);
gdk_x11_register_standard_event_type(locker->display, locker->event, 1);
gdk_window_add_filter(root, _locker_on_filter, locker);
- desktop_message_register(LOCKER_CLIENT_MESSAGE, _locker_on_message,
- locker);
+ /* listen to desktop messages */
+ gtk_widget_realize(locker->windows[0]);
+ desktop_message_register(locker->windows[0], LOCKER_CLIENT_MESSAGE,
+ _locker_on_message, locker);
return locker;
}