Daniel Brötzmann pushed to branch gtk4 at gajim / gajim
Commits:
bd129baf by wurstsalat at 2024-10-02T22:08:31+02:00
Disable some X11 calls
- - - - -
1 changed file:
- gajim/gtk/util.py
Changes:
=====================================
gajim/gtk/util.py
=====================================
@@ -7,7 +7,8 @@
from __future__ import annotations
-from typing import Any, Iterator
+from typing import Any
+from typing import Iterator
import logging
import math
@@ -61,6 +62,7 @@
def set_urgency_hint(window: Gtk.Window, setting: bool) -> None:
+ return # TODO: GTK4
if app.settings.get('use_urgency_hint'):
window.set_urgency_hint(setting)
@@ -211,6 +213,8 @@ def move_window(window: Gtk.Window, pos_x: int, pos_y: int)
-> None:
pos_x = max(pos_x, 0)
pos_y = max(pos_y, 0)
+ return # TODO GTK4
+
width, height = window.get_size()
if pos_x + width > screen_w:
pos_x = screen_w - width
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/bd129baf028f53fd521c83024d612e3d9bc13535
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/bd129baf028f53fd521c83024d612e3d9bc13535
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]