mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
don't set c->isfullscreen
to zero
calloc initializes all fields to zero
This commit is contained in:
parent
74fce9d918
commit
79ad72413d
1 changed files with 0 additions and 2 deletions
2
dwl.c
2
dwl.c
|
@ -977,7 +977,6 @@ createnotify(struct wl_listener *listener, void *data)
|
|||
LISTEN(&xdg_surface->toplevel->events.set_title, &c->set_title, updatetitle);
|
||||
LISTEN(&xdg_surface->toplevel->events.request_fullscreen, &c->fullscreen,
|
||||
fullscreennotify);
|
||||
c->isfullscreen = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2468,7 +2467,6 @@ createnotifyx11(struct wl_listener *listener, void *data)
|
|||
c->surface.xwayland = xwayland_surface;
|
||||
c->type = xwayland_surface->override_redirect ? X11Unmanaged : X11Managed;
|
||||
c->bw = borderpx;
|
||||
c->isfullscreen = 0;
|
||||
|
||||
/* Listen to the various events it can emit */
|
||||
LISTEN(&xwayland_surface->events.map, &c->map, mapnotify);
|
||||
|
|
Loading…
Reference in a new issue