Skip to content

Commit

Permalink
do not use #ifdef -> #else -> #endif in client_is_x11
Browse files Browse the repository at this point in the history
all other funcions use #ifdef -> #endif
  • Loading branch information
sevz17 committed Nov 17, 2023
1 parent 0067c76 commit b174005
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ client_is_x11(Client *c)
{
#ifdef XWAYLAND
return c->type == X11Managed || c->type == X11Unmanaged;
#else
return 0;
#endif
return 0;
}

static inline struct wlr_surface *
Expand Down

0 comments on commit b174005

Please sign in to comment.