This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- global timer that runs once and focuses the window currently under the mouse pointer | |
sloppytimer = timer({ timeout = 0.01 }) | |
sloppytimer:connect_signal("timeout", function() | |
c = awful.mouse.client_under_pointer(screen) | |
if c then | |
client.focus = c | |
c:raise() | |
end | |
sloppytimer:stop() | |
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include "findMaxP.h" | |
int getSizeForMax() { | |
return 10000; | |
} | |
int findMaxP(int length, int arr[]) { |
NewerOlder