mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
src/ssd: un-round corners on maximize
This commit is contained in:
parent
10f22a8f5b
commit
f42f5f41c5
3 changed files with 39 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ struct ssd_button {
|
|||
struct view *view;
|
||||
enum ssd_part_type type;
|
||||
struct wlr_scene_node *hover;
|
||||
struct wlr_scene_node *background;
|
||||
|
||||
struct wl_listener destroy;
|
||||
};
|
||||
|
|
@ -41,6 +42,7 @@ struct ssd {
|
|||
* don't update things we don't have to.
|
||||
*/
|
||||
struct {
|
||||
bool squared_corners; /* To un-round corner buttons on maximize */
|
||||
struct wlr_box geometry;
|
||||
struct ssd_state_title {
|
||||
char *text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue