mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Use #if instead of #ifdef
This commit is contained in:
parent
eda3bfeed5
commit
cad851805b
23 changed files with 85 additions and 85 deletions
|
|
@ -171,7 +171,7 @@ static struct sway_container *surface_at_view(struct sway_container *con, double
|
|||
double _sx, _sy;
|
||||
struct wlr_surface *_surface = NULL;
|
||||
switch (view->type) {
|
||||
#ifdef HAVE_XWAYLAND
|
||||
#if HAVE_XWAYLAND
|
||||
case SWAY_VIEW_XWAYLAND:
|
||||
_surface = wlr_surface_surface_at(view->surface,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue