Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 0748cc1e authored by Deucе's avatar Deucе 👌🏾

No need to resize window just because it moved.

Fixes X11 window dragging blinkiness.
parent 5c1dd9fd
Pipeline #2242 passed with stage
in 8 minutes and 32 seconds
......@@ -711,10 +711,11 @@ static int x11_event(XEvent *ev)
case ConfigureNotify: {
int width, height;
if (x11_window_xpos != ev->xconfigure.x || x11_window_ypos != ev->xconfigure.y
|| x11_window_width != ev->xconfigure.width || x11_window_height != ev->xconfigure.height) {
if (x11_window_xpos != ev->xconfigure.x || x11_window_ypos != ev->xconfigure.y) {
x11_window_xpos=ev->xconfigure.x;
x11_window_ypos=ev->xconfigure.y;
}
if (x11_window_width != ev->xconfigure.width || x11_window_height != ev->xconfigure.height) {
x11_window_width=ev->xconfigure.width;
x11_window_height=ev->xconfigure.height;
handle_resize_event(ev->xconfigure.width, ev->xconfigure.height);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment