summaryrefslogtreecommitdiff
path: root/libweston/launcher-weston-launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libweston/launcher-weston-launch.c')
-rw-r--r--libweston/launcher-weston-launch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libweston/launcher-weston-launch.c b/libweston/launcher-weston-launch.c
index e5d828ce..7bac0a30 100644
--- a/libweston/launcher-weston-launch.c
+++ b/libweston/launcher-weston-launch.c
@@ -207,12 +207,12 @@ launcher_weston_launch_data(int fd, uint32_t mask, void *data)
switch (ret) {
case WESTON_LAUNCHER_ACTIVATE:
- launcher->compositor->session_active = 1;
+ launcher->compositor->session_active = true;
wl_signal_emit(&launcher->compositor->session_signal,
launcher->compositor);
break;
case WESTON_LAUNCHER_DEACTIVATE:
- launcher->compositor->session_active = 0;
+ launcher->compositor->session_active = false;
wl_signal_emit(&launcher->compositor->session_signal,
launcher->compositor);
break;