mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
xwm: remove duplicate calls in net wm state read
This commit is contained in:
parent
c555a66dda
commit
680f8a169d
1 changed files with 0 additions and 1 deletions
|
|
@ -460,7 +460,6 @@ static void read_surface_net_wm_state(struct wlr_xwm *xwm,
|
||||||
struct wlr_xwayland_surface *xsurface, xcb_get_property_reply_t *reply) {
|
struct wlr_xwayland_surface *xsurface, xcb_get_property_reply_t *reply) {
|
||||||
xsurface->fullscreen = 0;
|
xsurface->fullscreen = 0;
|
||||||
xcb_atom_t *atom = xcb_get_property_value(reply);
|
xcb_atom_t *atom = xcb_get_property_value(reply);
|
||||||
atom = xcb_get_property_value(reply);
|
|
||||||
for (uint32_t i = 0; i < reply->value_len; i++) {
|
for (uint32_t i = 0; i < reply->value_len; i++) {
|
||||||
if (atom[i] == xwm->atoms[_NET_WM_STATE_FULLSCREEN])
|
if (atom[i] == xwm->atoms[_NET_WM_STATE_FULLSCREEN])
|
||||||
xsurface->fullscreen = true;
|
xsurface->fullscreen = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue