-
Notifications
You must be signed in to change notification settings - Fork 0
GTK_LAYER_SHELL Compatibility
ItsZariep edited this page Sep 9, 2024
·
1 revision
SGXPos is partially compatible with GTK_LAYER_SHELL, if you want to use both, you need to use things like #IFDEF to switch between both at compilation time or dynamically load different libraries reading XDG_SESSION_TYPE
environment variable
There is a table with compatible definitions:
Certainly! Here’s the updated table with the added "TYPE" column:
GTK_LAYER_SHELL | SGXPos | TYPE |
---|---|---|
gtk_layer_set_anchor | sgxpos_set_edge | Function |
gtk_layer_set_margin | sgxpos_set_margin | Function |
gtk_layer_set_layer | sgx_set_layer | Function |
gtk_layer_auto_exclusive_zone_enable | sgx_set_exclusive_zone | Function |
gtk_layer_init_for_window | sgx_set_exclusive_zone | Function |
GTK_LAYER_SHELL_EDGE_TOP | SGX_POS_EDGE_TOP | enum value from sgxposedge |
GTK_LAYER_SHELL_EDGE_BOTTOM | SGX_POS_EDGE_BOTTOM | enum value from sgxposedge |
GTK_LAYER_SHELL_EDGE_LEFT | SGX_POS_EDGE_LEFT | enum value from sgxposedge |
GTK_LAYER_SHELL_EDGE_RIGHT | SGX_POS_EDGE_RIGHT | enum value from sgxposedge |
GTK_LAYER_SHELL_EDGE_ENTRY_NUMBER | SGX_POS_EDGE_COUNT | enum value from sgxlayer |
GTK_LAYER_SHELL_LAYER_OVERLAY | SGX_LAYER_DOCK | enum value from sgxlayer |
GTK_LAYER_SHELL_LAYER_TOP | SGX_LAYER_DOCK | enum value from sgxlayer |
GTK_LAYER_SHELL_LAYER_BOTTOM | SGX_LAYER_BACKGROUND | enum value from sgxlayer |
GTK_LAYER_SHELL_LAYER_BACKGROUND | SGX_LAYER_BACKGROUND | enum value from sgxlayer |