diff --git a/objects/client.c b/objects/client.c index e7c71c286..fc1b31d84 100644 --- a/objects/client.c +++ b/objects/client.c @@ -819,6 +819,7 @@ client_resize_do(client_t *c, area_t geometry, bool force_notice) lua_State *L = globalconf_get_lua_State(); bool send_notice = force_notice; bool hide_titlebars = c->fullscreen; + bool java_is_broken = true; screen_t *new_screen = c->screen; if(!screen_coord_in_screen(new_screen, geometry.x, geometry.y)) @@ -826,6 +827,10 @@ client_resize_do(client_t *c, area_t geometry, bool force_notice) if(c->geometry.width == geometry.width && c->geometry.height == geometry.height) + /* We are moving without changing the size, see ICCCM 4.2.3 */ + send_notice = true; + if(java_is_broken) + /* Java strong. Java Hulk. Java make own rules! */ send_notice = true; /* Also store geometry including border */ @@ -858,7 +863,6 @@ client_resize_do(client_t *c, area_t geometry, bool force_notice) (uint32_t[]) { real_geometry.x, real_geometry.y, real_geometry.width, real_geometry.height }); if(send_notice) - /* We are moving without changing the size, see ICCCM 4.2.3 */ client_send_configure(c); client_restore_enterleave_events();