mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -04:00
Use #if instead of #ifdef
This commit is contained in:
parent
eda3bfeed5
commit
cad851805b
23 changed files with 85 additions and 85 deletions
|
|
@ -266,7 +266,7 @@ static void ipc_json_describe_view(struct sway_container *c, json_object *object
|
|||
struct wlr_box geometry = {0, 0, c->view->natural_width, c->view->natural_height};
|
||||
json_object_object_add(object, "geometry", ipc_json_create_rect(&geometry));
|
||||
|
||||
#ifdef HAVE_XWAYLAND
|
||||
#if HAVE_XWAYLAND
|
||||
if (c->view->type == SWAY_VIEW_XWAYLAND) {
|
||||
json_object_object_add(object, "window",
|
||||
json_object_new_int(view_get_x11_window_id(c->view)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue