Merge branch 'surf-webkit2'
config.h,config.def.h: Adjust patched config for current surf
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Merge branch 'upstream' into surf-webkit2
Fix dark mode parameter application
Only get webkit context and settings once
Add dark mode toggle
This sets dark gtk theme variant,
which should make webkit2gtk use dark css variant
from websites that provide it.
Improve non-ASCII character search handling
Before, the XA_STRING would only let use ASCII characters properly.
Now UTF-8 characters should be handled correctly.
Improve SETPROP xprop parsing
This handles correctly quotes, backslashes, etc.
Added new function for copying/pasting with 'clipboard' clipboard: clipboardpr; removed CLIP_COPY
Signed-off-by: Страхиња Радић <contact@strahinja.org>