Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use deprecated surface module. Closes #176 #177

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wlroots/wlr_types/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from wlroots import PtrHasData, ffi, lib

from .compositor import Surface
from .input_device import InputDevice, InputDeviceType
from .output import Output
from .output_layout import OutputLayout
Expand All @@ -24,7 +25,6 @@
PointerSwipeEndEvent,
PointerSwipeUpdateEvent,
)
from .surface import Surface
from .touch import (
TouchCancelEvent,
TouchDownEvent,
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/data_device_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from wlroots import Ptr, PtrHasData, ffi, lib

from .surface import Surface
from .compositor import Surface

_weakkeydict: WeakKeyDictionary = WeakKeyDictionary()

Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/foreign_toplevel_management_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

from wlroots import Ptr, PtrHasData, ffi, lib

from .compositor import Surface
from .output import Output
from .surface import Surface

if TYPE_CHECKING:
from pywayland.server import Display
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/idle_inhibit_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from wlroots import Ptr, PtrHasData, ffi, lib

from .surface import Surface
from .compositor import Surface


class IdleInhibitorManagerV1(Ptr):
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/layer_shell_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

from wlroots import Ptr, PtrHasData, ffi, lib

from .compositor import Surface
from .output import Output
from .surface import Surface
from .xdg_shell import SurfaceCallback, T

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/pointer_constraints_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from wlroots import Ptr, ffi, lib
from wlroots.util.region import PixmanRegion32

from .surface import Surface
from .compositor import Surface

if TYPE_CHECKING:
from pywayland.server import Display
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/seat.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

from wlroots import Ptr, PtrHasData, ffi, lib

from .compositor import Surface
from .data_device_manager import Drag
from .input_device import ButtonState
from .keyboard import Keyboard, KeyboardKeyEvent, KeyboardModifiers
from .pointer import AxisOrientation, AxisSource
from .surface import Surface

_weakkeydict: WeakKeyDictionary = WeakKeyDictionary()

Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/xdg_activation_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from wlroots import Ptr, ffi, lib

from .surface import Surface
from .compositor import Surface

if TYPE_CHECKING:
from pywayland.server import Display
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/xdg_decoration_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from wlroots import PtrHasData, ffi, lib

from .surface import Surface
from .compositor import Surface

if TYPE_CHECKING:
from pywayland.server import Display
Expand Down
2 changes: 1 addition & 1 deletion wlroots/wlr_types/xdg_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from wlroots.util.box import Box
from wlroots.util.edges import Edges

from .compositor import Surface
from .output import Output
from .surface import Surface

_weakkeydict: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary()

Expand Down
2 changes: 1 addition & 1 deletion wlroots/xwayland.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pywayland.server import Signal

from wlroots import Ptr, PtrHasData, ffi, lib, str_or_none
from wlroots.wlr_types.surface import Surface as WlrSurface
from wlroots.wlr_types.compositor import Surface as WlrSurface

if TYPE_CHECKING:
from typing import TypeVar
Expand Down
Loading