Topic: Computers A patch for evilwm

(link)

11:08am, Wednesday 23 July 2003 (Updated 11:48am, Thursday 14 August 2003)

This patch fixes SourceForge bug 752063: evilwm sometimes won't respond to alt-tab.

(Grrr. I fixed this on May 14th and emailed the author. No reply. Grrr.)

Update: The author has incorporated my patch. Yay!

diff -u -r evilwm-0.99.14.orig/screen.c evilwm-0.99.14/screen.c
--- evilwm-0.99.14.orig/screen.c        Tue Nov 26 19:53:03 2002
+++ evilwm-0.99.14/screen.c     Wed May 14 12:30:37 2003
@@ -366,7 +366,17 @@
        Client *newc = current;
 
        if (!newc) {
+#ifdef DEBUG
+               fprintf(stderr,"NEXT: no current window, looking on this desktop\n");
+#endif
                newc = head_client;
+#ifdef VWM
+               if(newc->vdesk != vdesk && newc->vdesk != STICKY) {
+                       do {
+                               newc = newc->next;
+                       } while (newc && newc->vdesk != vdesk && newc->vdesk != STICKY);
+               }
+#endif
        } else {
 #ifdef VWM
                do {
@@ -389,6 +399,12 @@
                }
 #endif
        }
+#ifdef DEBUG
+       else {
+               fprintf(stderr,"NEXT: hmm, no next window\n");
+       }
+#endif
+
 }
 
 #ifdef VWM

back to main

<-
 Topic:    
->

Powered by Personal Weblog.

March 2024
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr

[RSS]

 


 


Dave Holland <dave@biff.org.uk>
$Id: index.php,v 1.75 2010-07-09 22:15:04 dave Exp $