mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 12:30:00 +02:00
Disable blitting on window position changes
This slightly reduces flickering because redraws are now a bit faster.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user