[PATCH 04/10] main.c: Fix yoda condition.

Simon Ruderich simon at ruderich.org
Sat Feb 1 21:56:11 CET 2014


---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 5d93bf3..ee3495f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -797,7 +797,7 @@ void enternotify(XEvent* event) {
     HSDebug("name is: EnterNotify, focus = %d\n", event->xcrossing.focus);
     if (!mouse_is_dragging()
         && *g_focus_follows_mouse
-        && false == ce->focus) {
+        && ce->focus == false) {
         HSClient* c = get_client_from_window(ce->window);
         HSFrame* target;
         if (c && c->tag->floating == false
-- 
1.8.5.3

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20140201/c89abe95/attachment.asc>


More information about the hlwm mailing list