mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Kill wl_shell
This commit is contained in:
parent
4e6cb2b4b2
commit
95a10dd4f3
9 changed files with 2 additions and 200 deletions
|
|
@ -6,7 +6,6 @@
|
|||
#include <strings.h>
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_wl_shell.h>
|
||||
#include <wlr/types/wlr_xdg_shell_v6.h>
|
||||
#include <wlr/types/wlr_xdg_shell.h>
|
||||
#include "cairo.h"
|
||||
|
|
@ -446,11 +445,6 @@ struct sway_container *container_at(struct sway_container *parent,
|
|||
_surface = wlr_surface_surface_at(sview->surface,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
break;
|
||||
case SWAY_VIEW_WL_SHELL:
|
||||
_surface = wlr_wl_shell_surface_surface_at(
|
||||
sview->wlr_wl_shell_surface,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
break;
|
||||
case SWAY_VIEW_XDG_SHELL_V6:
|
||||
// the top left corner of the sway container is the
|
||||
// coordinate of the top left corner of the window geometry
|
||||
|
|
|
|||
|
|
@ -97,8 +97,6 @@ uint32_t view_get_window_type(struct sway_view *view) {
|
|||
|
||||
const char *view_get_type(struct sway_view *view) {
|
||||
switch(view->type) {
|
||||
case SWAY_VIEW_WL_SHELL:
|
||||
return "wl_shell";
|
||||
case SWAY_VIEW_XDG_SHELL_V6:
|
||||
return "xdg_shell_v6";
|
||||
case SWAY_VIEW_XDG_SHELL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue