aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-26 11:17:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-26 11:17:58 +0000
commit2f587f6f3d29c2dbfc6625e94144bf325263d090 (patch)
treedca9d56c8badfb36817e6e756a96f7c6c245b214 /server.c
parentgrid: grid_reflow(): may be called with old_rows/cols == new_rows/cols (diff)
csd: position CSD sub-surfaces *outside* the main window
For now, this behavior is controlled with an ifdef. At least kwin seems very buggy when the decorations are positioned like this (but normally you'd use server-side decorations with kwin anyway). This commit also changes 'use_csd' to be a tri-state variable; when instantiating a window it is set to 'unknown'. If there's no decoration manager available (e.g. weston), we immediately set it to 'yes' (use CSDs). Otherwise, we wait for the decoration manager callback to indicate whether we should use CSDs or not.
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions