}
/* if the client is shrinking, then resize the frame before the client */
- if (send_resize_client && (w <= oldw || h <= oldh)) {
+ if (send_resize_client && (w <= oldw && h <= oldh)) {
/* resize the plate to show the client padding color underneath */
frame_adjust_client_area(self->frame);
/* kill enter events cause by this unmapping */
event_ignore_all_queued_enters();
- /* kill enter events cause by this unmapping */
- event_ignore_all_queued_enters();
-
while(popup.targets) {
ObFocusCyclePopupTarget *t = popup.targets->data;