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:32:53 -0500
commitb3d68ee828afe6590ce8ce8e8dd613664515bde8 (patch)
tree668c9068bd768409d3262824dfdc96172d26c52a
parent33b1f3842c84eda8e9714091543f6e60aa2a83ef (diff)
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 6673e3e31..b305a290b 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;
22 22
23static Eina_Hash *clients_hash[2] = {NULL}; // pixmap->client 23static Eina_Hash *clients_hash[2] = {NULL}; // pixmap->client
24 24
25static int focus_track_frozen = 0; 25static unsigned int focus_track_frozen = 0;
26 26
27static int warp_to = 0; 27static int warp_to = 0;
28static int warp_to_x = 0; 28static int warp_to_x = 0;
@@ -3379,7 +3379,8 @@ e_client_focus_track_freeze(void)
3379E_API void 3379E_API void
3380e_client_focus_track_thaw(void) 3380e_client_focus_track_thaw(void)
3381{ 3381{
3382 focus_track_frozen--; 3382 if (focus_track_frozen)
3383 focus_track_frozen--;
3383} 3384}
3384 3385
3385E_API void 3386E_API void