Add xdg toplevel icon protocol support
634b9946614a5a243f4bb6461c1d0c993dbaf381
1 parent
5a678454
swm.c
+2 -0
| 72 | 72 | #include <wlr/types/wlr_xdg_activation_v1.h> |
|
| 73 | 73 | #include <wlr/types/wlr_xdg_decoration_v1.h> |
|
| 74 | 74 | #include <wlr/types/wlr_xdg_dialog_v1.h> |
|
| 75 | 75 | #include <wlr/types/wlr_xdg_output_v1.h> |
|
| 76 | 76 | #include <wlr/types/wlr_xdg_shell.h> |
|
| 77 | + | #include <wlr/types/wlr_xdg_toplevel_icon_v1.h> |
|
| 77 | 78 | #include <wlr/types/wlr_xdg_system_bell_v1.h> |
|
| 78 | 79 | #include <wlr/util/log.h> |
|
| 79 | 80 | #include <wlr/util/region.h> |
|
| 80 | 81 | #include <wlr/xwayland.h> |
|
| 81 | 82 | #include <xcb/xcb.h> |
| 6116 | 6117 | wl_list_init(&fstack); |
|
| 6117 | 6118 | ||
| 6118 | 6119 | xdg_shell = wlr_xdg_shell_create(dpy, 6); |
|
| 6119 | 6120 | listen_global(&xdg_shell->events.new_toplevel, &new_xdg_toplevel); |
|
| 6120 | 6121 | listen_global(&xdg_shell->events.new_popup, &new_xdg_popup); |
|
| 6122 | + | wlr_xdg_toplevel_icon_manager_v1_create(dpy, 1); |
|
| 6121 | 6123 | ||
| 6122 | 6124 | xdg_dialog_mgr = wlr_xdg_wm_dialog_v1_create(dpy, 1); |
|
| 6123 | 6125 | listen_global(&xdg_dialog_mgr->events.new_dialog, &new_xdg_dialog); |
|
| 6124 | 6126 | ||
| 6125 | 6127 | layer_shell = wlr_layer_shell_v1_create(dpy, 4); |