Home
last modified time | relevance | path

Searched refs:shellSurface (Results 1 – 25 of 154) sorted by relevance

1234567

/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/
H A Dlayershellv1integration.cpp48 shellSurface->sendClosed(); in createClient()
57 destroyClient(shellSurface); in recreateClient()
58 createClient(shellSurface); in recreateClient()
66 if (layerShellClient && layerShellClient->shellSurface() == shellSurface) { in destroyClient()
77 workArea->adjust(shellSurface->leftMargin() + shellSurface->exclusiveZone(), 0, 0, 0); in adjustWorkArea()
80 workArea->adjust(0, 0, -shellSurface->rightMargin() - shellSurface->exclusiveZone(), 0); in adjustWorkArea()
83 workArea->adjust(0, shellSurface->topMargin() + shellSurface->exclusiveZone(), 0, 0); in adjustWorkArea()
86 workArea->adjust(0, 0, 0, -shellSurface->bottomMargin() - shellSurface->exclusiveZone()); in adjustWorkArea()
95 LayerSurfaceV1Interface *shellSurface = client->shellSurface(); in rearrangeLayer() local
136 geometry.adjust(shellSurface->leftMargin(), 0, -shellSurface->rightMargin(), 0); in rearrangeLayer()
[all …]
H A Dlayershellv1client.cpp42 : WaylandClient(shellSurface->surface()) in LayerShellV1Client()
45 , m_shellSurface(shellSurface) in LayerShellV1Client()
46 , m_windowType(scopeToType(shellSurface->scope())) in LayerShellV1Client()
64 connect(shellSurface->surface(), &SurfaceInterface::sizeChanged, in LayerShellV1Client()
66 connect(shellSurface->surface(), &SurfaceInterface::unmapped, in LayerShellV1Client()
68 connect(shellSurface->surface(), &SurfaceInterface::committed, in LayerShellV1Client()
73 connect(shellSurface, &LayerSurfaceV1Interface::layerChanged, in LayerShellV1Client()
75 connect(shellSurface, &LayerSurfaceV1Interface::marginsChanged, in LayerShellV1Client()
77 connect(shellSurface, &LayerSurfaceV1Interface::anchorChanged, in LayerShellV1Client()
85 LayerSurfaceV1Interface *LayerShellV1Client::shellSurface() const in shellSurface() function in KWin::LayerShellV1Client
[all …]
H A Dxdgshellclient.cpp43 : WaylandClient(shellSurface->surface()) in XdgSurfaceClient()
44 , m_shellSurface(shellSurface) in XdgSurfaceClient()
363 , m_shellSurface(shellSurface) in XdgToplevelClient()
949 if (shellSurface()->isConfigured()) { in handleWindowClassChanged()
1343 m_plasmaShellSurface = shellSurface; in installPlasmaShellSurface()
1345 auto updatePosition = [this, shellSurface] { move(shellSurface->position()); }; in installPlasmaShellSurface()
1348 switch (shellSurface->role()) { in installPlasmaShellSurface()
1416 if (shellSurface->isPositionSet()) { in installPlasmaShellSurface()
1734 , m_shellSurface(shellSurface) in XdgPopupClient()
2062 m_plasmaShellSurface = shellSurface; in installPlasmaShellSurface()
[all …]
H A Dlayershellv1integration.h29 void createClient(KWaylandServer::LayerSurfaceV1Interface *shellSurface);
30 void recreateClient(KWaylandServer::LayerSurfaceV1Interface *shellSurface);
31 void destroyClient(KWaylandServer::LayerSurfaceV1Interface *shellSurface);
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/autotests/integration/
H A Dxdgshellclient_rules_test.cpp227 delete shellSurface; in testPositionDontAffect()
292 delete shellSurface; in testPositionApply()
303 delete shellSurface; in testPositionApply()
368 delete shellSurface; in testPositionRemember()
379 delete shellSurface; in testPositionRemember()
425 delete shellSurface; in testPositionForce()
436 delete shellSurface; in testPositionForce()
514 delete shellSurface; in testPositionApplyNow()
560 delete shellSurface; in testPositionForceTemporarily()
571 delete shellSurface; in testPositionForceTemporarily()
[all …]
H A Dlayershellv1client_test.cpp104 shellSurface->set_size(280, 124); in testOutput()
122 shellSurface.reset(); in testOutput()
168 shellSurface->set_anchor(anchor); in testAnchor()
188 shellSurface.reset(); in testAnchor()
264 shellSurface.reset(); in testMargins()
306 shellSurface.reset(); in testLayer()
351 shellSurface.reset(); in testPlacementArea()
407 shellSurface.reset(); in testFill()
488 shellSurface.reset(); in testFocus()
536 shellSurface.reset(); in testActivate()
[all …]
H A Dxdgshellclient_test.cpp270 shellSurface.reset(); in testMapUnmap()
391 QVERIFY(shellSurface); in testFullscreen()
467 shellSurface.reset(); in testFullscreen()
498 QVERIFY(shellSurface); in testMaximizedToFullscreen()
581 shellSurface.reset(); in testMaximizedToFullscreen()
1221 shellSurface.reset(); in testXdgWindowGeometryAttachBuffer()
1359 shellSurface.reset(); in testXdgWindowGeometryInteractiveResize()
1416 shellSurface.reset(); in testXdgWindowGeometryFullScreen()
1473 shellSurface.reset(); in testXdgWindowGeometryMaximize()
1532 shellSurface.reset(); in testPointerInputTransform()
[all …]
H A Dmaximize_test.cpp97 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testMaximizedPassedToDeco() local
109 …QSignalSpy toplevelConfigureRequestedSpy(shellSurface.data(), &Test::XdgToplevel::configureRequest… in testMaximizedPassedToDeco()
130shellSurface->xdgSurface()->ack_configure(surfaceConfigureRequestedSpy.last().at(0).value<quint32>… in testMaximizedPassedToDeco()
151shellSurface->xdgSurface()->ack_configure(surfaceConfigureRequestedSpy.last().at(0).value<quint32>… in testMaximizedPassedToDeco()
165 shellSurface.reset(); in testMaximizedPassedToDeco()
182 QScopedPointer<Test::XdgToplevel> shellSurface( in testInitiallyMaximizedBorderless() local
186 …QSignalSpy toplevelConfigureRequestedSpy(shellSurface.data(), &Test::XdgToplevel::configureRequest… in testInitiallyMaximizedBorderless()
188 shellSurface->set_maximized(); in testInitiallyMaximizedBorderless()
215 shellSurface.reset(); in testInitiallyMaximizedBorderless()
233 QScopedPointer<Test::XdgToplevel> shellSurface( in testBorderlessMaximizedWindow() local
[all …]
H A Dmove_resize_window_test.cpp118 QVERIFY(!shellSurface.isNull()); in testMove()
199 QVERIFY(!shellSurface.isNull()); in testResize()
317 shellSurface.reset(); in testResize()
340 QVERIFY(!shellSurface.isNull()); in testPackTo()
412 QVERIFY(!shellSurface.isNull()); in testPackAgainstClient()
796 shellSurface.reset(); in testAdjustClientGeometryOfAutohidingX11Panel()
873 shellSurface.reset(); in testAdjustClientGeometryOfAutohidingWaylandPanel()
1058 shellSurface.reset(); in testDestroyMoveClient()
1095 shellSurface.reset(); in testDestroyResizeClient()
1123 shellSurface.reset(); in testSetFullScreenWhenMoving()
[all …]
H A Didle_inhibition_test.cpp81 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testInhibit() local
104 shellSurface.reset(); in testInhibit()
128 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testDontInhibitWhenNotOnCurrentDesktop() local
129 QVERIFY(!shellSurface.isNull()); in testDontInhibitWhenNotOnCurrentDesktop()
164 shellSurface.reset(); in testDontInhibitWhenNotOnCurrentDesktop()
186 QVERIFY(!shellSurface.isNull()); in testDontInhibitWhenMinimized()
211 shellSurface.reset(); in testDontInhibitWhenMinimized()
233 QVERIFY(!shellSurface.isNull()); in testDontInhibitWhenUnmapped()
291 shellSurface.reset(); in testDontInhibitWhenUnmapped()
316 QVERIFY(!shellSurface.isNull()); in testDontInhibitWhenLeftCurrentDesktop()
[all …]
H A Dplacement_test.cpp112 …auto shellSurface = Test::createXdgToplevelSurface(surface, surface, Test::CreationSetup::CreateOn… in createAndPlaceWindow() local
114 QSignalSpy toplevelConfigureRequestedSpy(shellSurface, &Test::XdgToplevel::configureRequested); in createAndPlaceWindow()
121 shellSurface->xdgSurface()->ack_configure(surfaceConfigureRequestedSpy[0][0].toUInt()); in createAndPlaceWindow()
215 shellSurface->set_fullscreen(nullptr); in testPlaceMaximizedLeavesFullscreen()
216 … QSignalSpy toplevelConfigureRequestedSpy(shellSurface, &Test::XdgToplevel::configureRequested); in testPlaceMaximizedLeavesFullscreen()
223 shellSurface->xdgSurface()->ack_configure(surfaceConfigureRequestedSpy[0][0].toUInt()); in testPlaceMaximizedLeavesFullscreen()
243 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testPlaceCentered() local
248 shellSurface.reset(); in testPlaceCentered()
265 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testPlaceUnderMouse() local
270 shellSurface.reset(); in testPlaceUnderMouse()
[all …]
H A Dinputmethod_test.cpp115 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testOpenClose() local
122 …QSignalSpy toplevelConfigureRequestedSpy(shellSurface.data(), &Test::XdgToplevel::configureRequest… in testOpenClose()
157 shellSurface.reset(); in testOpenClose()
165 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testEnableDisableV3() local
202 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testEnableActive() local
209 …QSignalSpy toplevelConfigureRequestedSpy(shellSurface.data(), &Test::XdgToplevel::configureRequest… in testEnableActive()
238 shellSurface.reset(); in testEnableActive()
257 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testHidePanel() local
277 shellSurface.reset(); in testHidePanel()
301 auto shellSurface = Test::createXdgToplevelSurface(surface); in testSwitchFocusedSurfaces() local
[all …]
H A Dquick_tiling_test.cpp155 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testQuickTiling() local
156 QVERIFY(!shellSurface.isNull()); in testQuickTiling()
231 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testQuickMaximizing() local
232 QVERIFY(!shellSurface.isNull()); in testQuickMaximizing()
342 QVERIFY(!shellSurface.isNull()); in testQuickTilingKeyboardMove()
408 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface( in testQuickTilingPointerMove() local
410 QVERIFY(!shellSurface.isNull()); in testQuickTilingPointerMove()
482 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface( in testQuickTilingTouchMove() local
484 QVERIFY(!shellSurface.isNull()); in testQuickTilingTouchMove()
740 QVERIFY(!shellSurface.isNull()); in testShortcut()
[all …]
H A Dplasma_surface_test.cpp104 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testRoleOnAllDesktops() local
105 QVERIFY(!shellSurface.isNull()); in testRoleOnAllDesktops()
162 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testAcceptsFocus() local
163 QVERIFY(!shellSurface.isNull()); in testAcceptsFocus()
181 QScopedPointer<Test::XdgToplevel> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testOSDPlacement() local
182 QVERIFY(!shellSurface.isNull()); in testOSDPlacement()
231 QVERIFY(!shellSurface.isNull()); in testOSDPlacementManualPosition()
261 QScopedPointer<QObject> shellSurface(Test::createXdgToplevelSurface(surface.data())); in testPanelTypeHasStrut() local
262 QVERIFY(!shellSurface.isNull()); in testPanelTypeHasStrut()
313 QVERIFY(!shellSurface.isNull()); in testPanelWindowsCanCover()
[all …]
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/compositor/extensions/
H A Dqwaylandwlshell.cpp77 if (!shellSurface) { in shell_get_shell_surface()
83 m_shellSurfaces.append(shellSurface); in shell_get_shell_surface()
84 emit q->wlShellSurfaceCreated(shellSurface); in shell_get_shell_surface()
89 if (!m_shellSurfaces.removeOne(shellSurface)) in unregisterShellSurface()
326 if (shellSurface->surface() && shellSurface->surface()->client() == client) in shellSurfacesForClient()
327 surfsForClient.append(shellSurface); in shellSurfacesForClient()
338 && shellSurface->surface() && shellSurface->surface()->hasContent()) { in mappedPopups()
339 popupSurfaces.append(shellSurface); in mappedPopups()
350 && shellSurface->surface() && shellSurface->surface()->hasContent()) { in popupClient()
351 return shellSurface->surface()->client(); in popupClient()
[all …]
H A Dqwaylandquickshellsurfaceitem.cpp38 …tem *QWaylandQuickShellSurfaceItemPrivate::maybeCreateAutoPopup(QWaylandShellSurface* shellSurface) in maybeCreateAutoPopup() argument
45 popupItem->setShellSurface(shellSurface); in maybeCreateAutoPopup()
119 QWaylandShellSurface *QWaylandQuickShellSurfaceItem::shellSurface() const in shellSurface() function in QWaylandQuickShellSurfaceItem
125 void QWaylandQuickShellSurfaceItem::setShellSurface(QWaylandShellSurface *shellSurface) in setShellSurface() argument
128 if (d->m_shellSurface == shellSurface) in setShellSurface()
131 d->m_shellSurface = shellSurface; in setShellSurface()
139 if (shellSurface) { in setShellSurface()
140 d->m_shellIntegration = shellSurface->createIntegration(this); in setShellSurface()
H A Dqwaylandquickshellsurfaceitem.h45 …Q_PROPERTY(QWaylandShellSurface *shellSurface READ shellSurface WRITE setShellSurface NOTIFY shell…
52 QWaylandShellSurface *shellSurface() const;
53 void setShellSurface(QWaylandShellSurface *shellSurface);
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/autotests/integration/effects/
H A Dscripted_effects_test.cpp199 QVERIFY(shellSurface); in testEffectsHandler()
200 shellSurface->set_title("WindowA"); in testEffectsHandler()
278 QVERIFY(shellSurface); in testAnimations()
385 QVERIFY(shellSurface); in testFullScreenEffect()
449 QVERIFY(shellSurface); in testKeepAlive()
495 QVERIFY(shellSurface); in testGrab()
528 QVERIFY(shellSurface); in testGrabAlreadyGrabbedWindow()
565 QVERIFY(shellSurface); in testGrabAlreadyGrabbedWindowForced()
596 QVERIFY(shellSurface); in testUngrab()
639 QVERIFY(shellSurface); in testRedirect()
[all …]
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtwayland/examples/wayland/multi-screen/qml/
H A Dmain.qml100 onWlShellSurfaceCreated: handleShellSurfaceCreated(shellSurface)
111 function createShellSurfaceItem(shellSurface, moveItem, output) {
112 var parentSurfaceItem = output.viewsBySurface[shellSurface.parentSurface];
115 "shellSurface": shellSurface,
123 output.viewsBySurface[shellSurface.surface] = item;
126 function handleShellSurfaceCreated(shellSurface) {
130 "width": Qt.binding(function() { return shellSurface.surface.width; }),
131 "height": Qt.binding(function() { return shellSurface.surface.height; })
134 createShellSurfaceItem(shellSurface, moveItem, screens.objectAt(i));
/dports/x11/plasma5-kwayland-server/kwayland-server-5.23.5/src/server/
H A Dplasmashell_interface.cpp89 auto shellSurface = new PlasmaShellSurfaceInterface(s, shell_resource); in org_kde_plasma_shell_get_surface() local
90 s_shellSurfaces.append(shellSurface); in org_kde_plasma_shell_get_surface()
92 QObject::connect(shellSurface, &QObject::destroyed, [shellSurface]() { in org_kde_plasma_shell_get_surface()
93 s_shellSurfaces.removeOne(shellSurface); in org_kde_plasma_shell_get_surface()
96 Q_EMIT q->surfaceCreated(shellSurface); in org_kde_plasma_shell_get_surface()
315 for (PlasmaShellSurfaceInterface *shellSurface : qAsConst(s_shellSurfaces)) { in get()
316 if (shellSurface->surface() == surface) { in get()
317 return shellSurface; in get()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_waylandshells/waylandshells/xdg-shell/
H A Dqwaylandxdgshellintegration.cpp90 auto *xdgSurface = qobject_cast<QWaylandXdgSurface *>(newFocus->shellSurface()); in handleKeyboardFocusChanged()
94 if (oldFocus && qobject_cast<QWaylandXdgSurface *>(oldFocus->shellSurface())) { in handleKeyboardFocusChanged()
95 auto *xdgSurface = qobject_cast<QWaylandXdgSurface *>(oldFocus->shellSurface()); in handleKeyboardFocusChanged()
104 if (auto xdgSurface = qobject_cast<QWaylandXdgSurface *>(waylandWindow->shellSurface())) { in nativeResourceForWindow()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/framework/platform/lnx/wayland/
H A DtcuLnxWayland.cpp201 void Window::handlePing (void* data, struct wl_shell_surface* shellSurface, uint32_t serial) in handlePing() argument
204 wl_shell_surface_pong(shellSurface, serial); in handlePing()
207 void Window::handleConfigure (void* data, struct wl_shell_surface* shellSurface, uint32_t edges, in… in handleConfigure() argument
210 DE_UNREF(shellSurface); in handleConfigure()
216 void Window::handlePopupDone (void* data, struct wl_shell_surface* shellSurface) in handlePopupDone() argument
219 DE_UNREF(shellSurface); in handlePopupDone()
/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/src/client/
H A Dshell.cpp129 static void pingCallback(void* data, struct wl_shell_surface* shellSurface, uint32_t serial);
131 struct wl_shell_surface* shellSurface,
135 static void popupDoneCallback(void* data, struct wl_shell_surface* shellSurface);
234 wl_shell_surface* shellSurface, in configureCallback() argument
241 Q_ASSERT(s->surface == shellSurface); in configureCallback()
246 wl_shell_surface* shellSurface, in pingCallback() argument
250 Q_ASSERT(s->surface == shellSurface); in pingCallback()
254 void ShellSurface::Private::popupDoneCallback(void* data, wl_shell_surface* shellSurface) in popupDoneCallback() argument
257 Q_ASSERT(s->surface == shellSurface); in popupDoneCallback()
/dports/graphics/open3d/Open3D-0.2/src/External/GLFW/src/
H A Dwl_window.c496 else if (window->wl.shellSurface) in setFullscreen()
499 window->wl.shellSurface, in setFullscreen()
519 if (!window->wl.shellSurface) in createShellSurface()
830 window->wl.shellSurface = NULL; in _glfwPlatformCreateWindow()
869 if (window->wl.shellSurface) in _glfwPlatformDestroyWindow()
892 else if (window->wl.shellSurface) in _glfwPlatformSetWindowTitle()
1023 else if (window->wl.shellSurface) in _glfwPlatformRestoreWindow()
1038 else if (window->wl.shellSurface) in _glfwPlatformMaximizeWindow()
1067 else if (window->wl.shellSurface) in _glfwPlatformHideWindow()
1070 window->wl.shellSurface = NULL; in _glfwPlatformHideWindow()
[all …]
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/GLFW/src/
H A Dwl_window.c496 else if (window->wl.shellSurface) in setFullscreen()
499 window->wl.shellSurface, in setFullscreen()
519 if (!window->wl.shellSurface) in createShellSurface()
830 window->wl.shellSurface = NULL; in _glfwPlatformCreateWindow()
869 if (window->wl.shellSurface) in _glfwPlatformDestroyWindow()
892 else if (window->wl.shellSurface) in _glfwPlatformSetWindowTitle()
1023 else if (window->wl.shellSurface) in _glfwPlatformRestoreWindow()
1038 else if (window->wl.shellSurface) in _glfwPlatformMaximizeWindow()
1067 else if (window->wl.shellSurface) in _glfwPlatformHideWindow()
1070 window->wl.shellSurface = NULL; in _glfwPlatformHideWindow()
[all …]

1234567