aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-27 15:32:19 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-27 15:32:19 -0400
commit680f8a169dde620ec601967764d465bd290dd917 (patch)
treec4d328bbcf00984d56790d501eaf8b799bfc83ba /xwayland
parentc555a66ddafe3ea06f3abbf38194a8589733082d (diff)
xwm: remove duplicate calls in net wm state read
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 9ddf59df..e3d7867d 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -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) {
xsurface->fullscreen = 0;
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++) {
if (atom[i] == xwm->atoms[_NET_WM_STATE_FULLSCREEN])
xsurface->fullscreen = true;