Skip to content

Instantly share code, notes, and snippets.

View abodelot's full-sized avatar
🐧

Alexandre Bodelot abodelot

🐧
View GitHub Profile
{
"manifest":{
"transportType":"dash",
"periods":null,
"locations":[
"http://dash-vod-aka-test.canal-bis.com/test/pub-cube-s/index.mpd"
],
"profiles":"urn:mpeg:dash:profile:isoff-on-demand:2011",
"type":"static",
"duration":64,
@abodelot
abodelot / windowfocus.patch
Last active August 29, 2015 14:02
window gently requests focus instead of stealing it
diff --git a/src/SFML/Window/Unix/WindowImplX11.cpp b/src/SFML/Window/Unix/WindowImplX11.cpp
index 4add01b..4cc2e7e 100644
--- a/src/SFML/Window/Unix/WindowImplX11.cpp
+++ b/src/SFML/Window/Unix/WindowImplX11.cpp
@@ -486,18 +486,18 @@ void WindowImplX11::setKeyRepeatEnabled(bool enabled)
////////////////////////////////////////////////////////////
void WindowImplX11::requestFocus()
{
- // Check if window is viewable (not on other desktop, minimized, ...)
- XWindowAttributes attributes;