Disable blitting on window position changes

This slightly reduces flickering because redraws are now a bit faster.
This commit is contained in:
Robbert van der Helm
2020-12-27 15:08:01 +01:00
parent 35c7138333
commit fbef37b924
3 changed files with 24 additions and 8 deletions
+6 -6
View File
@@ -151,6 +151,12 @@ class Editor {
*/
void set_input_focus(bool grab) const;
/**
* Whether to use XEmbed instead of yabridge's normal window embedded. Wine
* with XEmbed tends to cause rendering issues, so it's disabled by default.
*/
const bool use_xembed;
private:
/**
* Returns `true` if the currently active window (as per
@@ -185,12 +191,6 @@ class Editor {
*/
std::unique_ptr<xcb_connection_t, decltype(&xcb_disconnect)> x11_connection;
/**
* Whether to use XEmbed instead of yabridge's normal window embedded. Wine
* with XEmbed tends to cause rendering issues, so it's disabled by default.
*/
const bool use_xembed;
/**
* The Wine window's client area, or the maximum size of that window. This
* will be set to a size that's large enough to be able to enter full screen