Skip to content
Commit a3cf97ff authored by Jonas Ådahl's avatar Jonas Ådahl
Browse files

xdg-shell/popup: Allow custom parent by passing null as parent



Allow using some other protocol (custom, or future xdg_* based) to set
up the parent-child relationship of a popup. This allows future
protocols to use xdg_popup when mapping popups over surfaces not based
on xdg_surface.

An example use case for this is the window menu, where a shells UI
client can use xdg_popup to create popup menus over windows it does not
have a xdg_surface of by having a custom protocol setting up the proper
parent-child relationship.

Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
Reviewed-By: default avatarMike Blumenkrantz <zmike@osg.samsung.com>
parent bb632281
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment