diff options
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/xdg_shell.c | 3 | ||||
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 3 | ||||
-rw-r--r-- | sway/desktop/xwayland.c | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 62c3abc8..f3e4fef8 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -418,9 +418,6 @@ void handle_xdg_shell_surface(struct wl_listener *listener, void *data) { | |||
418 | view_init(&xdg_shell_view->view, SWAY_VIEW_XDG_SHELL, &view_impl); | 418 | view_init(&xdg_shell_view->view, SWAY_VIEW_XDG_SHELL, &view_impl); |
419 | xdg_shell_view->view.wlr_xdg_surface = xdg_surface; | 419 | xdg_shell_view->view.wlr_xdg_surface = xdg_surface; |
420 | 420 | ||
421 | // TODO: | ||
422 | // - Look up pid and open on appropriate workspace | ||
423 | |||
424 | xdg_shell_view->map.notify = handle_map; | 421 | xdg_shell_view->map.notify = handle_map; |
425 | wl_signal_add(&xdg_surface->events.map, &xdg_shell_view->map); | 422 | wl_signal_add(&xdg_surface->events.map, &xdg_shell_view->map); |
426 | 423 | ||
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 7fb85410..46fd4769 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -409,9 +409,6 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { | |||
409 | view_init(&xdg_shell_v6_view->view, SWAY_VIEW_XDG_SHELL_V6, &view_impl); | 409 | view_init(&xdg_shell_v6_view->view, SWAY_VIEW_XDG_SHELL_V6, &view_impl); |
410 | xdg_shell_v6_view->view.wlr_xdg_surface_v6 = xdg_surface; | 410 | xdg_shell_v6_view->view.wlr_xdg_surface_v6 = xdg_surface; |
411 | 411 | ||
412 | // TODO: | ||
413 | // - Look up pid and open on appropriate workspace | ||
414 | |||
415 | xdg_shell_v6_view->map.notify = handle_map; | 412 | xdg_shell_v6_view->map.notify = handle_map; |
416 | wl_signal_add(&xdg_surface->events.map, &xdg_shell_v6_view->map); | 413 | wl_signal_add(&xdg_surface->events.map, &xdg_shell_v6_view->map); |
417 | 414 | ||
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 2546168b..65d4fcd4 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -514,9 +514,6 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) { | |||
514 | view_init(&xwayland_view->view, SWAY_VIEW_XWAYLAND, &view_impl); | 514 | view_init(&xwayland_view->view, SWAY_VIEW_XWAYLAND, &view_impl); |
515 | xwayland_view->view.wlr_xwayland_surface = xsurface; | 515 | xwayland_view->view.wlr_xwayland_surface = xsurface; |
516 | 516 | ||
517 | // TODO: | ||
518 | // - Look up pid and open on appropriate workspace | ||
519 | |||
520 | wl_signal_add(&xsurface->events.destroy, &xwayland_view->destroy); | 517 | wl_signal_add(&xsurface->events.destroy, &xwayland_view->destroy); |
521 | xwayland_view->destroy.notify = handle_destroy; | 518 | xwayland_view->destroy.notify = handle_destroy; |
522 | 519 | ||