projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b1f38
)
use unsigned int for client focus tracking freeze state
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 10 Nov 2015 19:32:53 +0000
(14:32 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 10 Nov 2015 19:32:53 +0000
(14:32 -0500)
there's no reason why this should ever be negative
src/bin/e_client.c
patch
|
blob
|
history
diff --git
a/src/bin/e_client.c
b/src/bin/e_client.c
index
6673e3e
..
b305a29
100644
(file)
--- 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[2] = {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;
@@
-3379,7
+3379,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