diff options
author | portix <none@none> | 2012-06-27 13:05:39 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-27 13:05:39 +0200 |
commit | 9e96b231c330b412e33a9dd31307d5c7df537aa1 (patch) | |
tree | 92a622bf037663b255de555a6a3f13ca8a3b87c9 /src/plugins.c | |
parent | 5ac1262b9a9bfdba34f398c95683e0e6cbcdc332 (diff) | |
download | dwb-9e96b231c330b412e33a9dd31307d5c7df537aa1.zip |
Change z-index of hints to a higher value than the pluginblocker element
Diffstat (limited to 'src/plugins.c')
-rw-r--r-- | src/plugins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins.c b/src/plugins.c index 7e64d965..dae33635 100644 --- a/src/plugins.c +++ b/src/plugins.c @@ -93,7 +93,7 @@ plugins_create_click_element(WebKitDOMElement *element, GList *gl) { webkit_dom_html_element_set_inner_html(WEBKIT_DOM_HTML_ELEMENT(div), "<div style='display:table-cell;vertical-align:middle;text-align:center;color:#fff;background:#000;border:1px solid #666;font:11px monospace bold'>click to enable flash</div>", NULL); - char *new_style = g_strdup_printf("position:%s;width:%dpx;height:%dpx;top:%s;left:%s;display:table;z-index:1000000;", position, w, h, top, left); + char *new_style = g_strdup_printf("position:%s;width:%dpx;height:%dpx;top:%s;left:%s;display:table;z-index:37000;", position, w, h, top, left); webkit_dom_element_set_attribute(div, "style", new_style, NULL); g_free(new_style); |