|
|
@ -5,6 +5,16 @@
|
|
|
|
#include "wlr/xwayland.h"
|
|
|
|
#include "wlr/xwayland.h"
|
|
|
|
#include "xwm.h"
|
|
|
|
#include "xwm.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const char *atom_map[ATOM_LAST] = {
|
|
|
|
|
|
|
|
"WL_SURFACE_ID",
|
|
|
|
|
|
|
|
"WM_PROTOCOLS",
|
|
|
|
|
|
|
|
"WM_S0",
|
|
|
|
|
|
|
|
"_NET_SUPPORTED",
|
|
|
|
|
|
|
|
"_NET_WM_S0",
|
|
|
|
|
|
|
|
"_NET_WM_STATE",
|
|
|
|
|
|
|
|
"WM_TAKE_FOCUS",
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* General helpers */
|
|
|
|
/* General helpers */
|
|
|
|
// TODO: replace this with hash table?
|
|
|
|
// TODO: replace this with hash table?
|
|
|
|
static struct wlr_xwayland_surface *lookup_surface(struct wl_list *list,
|
|
|
|
static struct wlr_xwayland_surface *lookup_surface(struct wl_list *list,
|
|
|
|