Add input and bounding shapes support (#2742)
Basic idea: if the window has a shape, set the parent container shape as the union of the window shape and the shape of the frame borders. Co-authored-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include <xcb/shape.h>
|
||||
#include <xcb/xcb_keysyms.h>
|
||||
#include <xcb/xkb.h>
|
||||
|
||||
@ -70,7 +71,7 @@ extern uint8_t root_depth;
|
||||
extern xcb_visualid_t visual_id;
|
||||
extern xcb_colormap_t colormap;
|
||||
|
||||
extern bool xcursor_supported, xkb_supported;
|
||||
extern bool xcursor_supported, xkb_supported, shape_supported;
|
||||
extern xcb_window_t root;
|
||||
extern struct ev_loop *main_loop;
|
||||
extern bool only_check_config;
|
||||
|
Reference in New Issue
Block a user