summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-10 14:32:53 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-10 14:50:34 -0500
commitbc2d09057275190dd908446b85c922089cd6aaea (patch)
tree065c1b40a768b578a85aec69aafc8bc0699a7422
parent87edcc861b60ee6a6bb8142a33d2bb931b6cec55 (diff)
downloadenlightenment-bc2d09057275190dd908446b85c922089cd6aaea.tar.gz
use unsigned int for client focus tracking freeze state
there's no reason why this should ever be negative
-rw-r--r--src/bin/e_client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 0c5c79a9d0..ddb584812a 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -22,7 +22,7 @@ E_API int E_EVENT_CLIENT_UNFULLSCREEN = -1;
static Eina_Hash *clients_hash = NULL; // pixmap->client
-static int focus_track_frozen = 0;
+static unsigned int focus_track_frozen = 0;
static int warp_to = 0;
static int warp_to_x = 0;
@@ -3375,7 +3375,8 @@ e_client_focus_track_freeze(void)
E_API void
e_client_focus_track_thaw(void)
{
- focus_track_frozen--;
+ if (focus_track_frozen)
+ focus_track_frozen--;
}
E_API void