Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can I implement client side decoration?

Can I implement client side decoration?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 413 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yujeonja
    wrote on last edited by
    #1

    I want to implement complete client side decoration with Qt. It means, it has title bar with window move, window frame for resize, and drop shadow which is not take any inputs. The drop shadow should transparent for input, so when I click the shadow area, window should not be activated but just select another window below the shadow.
    I found Qt::WindowTransparentForInput window flag which is similar what I want. But the problem is when this flag is set, the entire window turns transparent for input. In Wayland client, there is wl_surface_set_input_region function to make a surface is valid only given region so the out of region is still visible but not interact with mouse input or compositor's window snap feature.
    Is there any way to implement this in Qt?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved