mirror of
https://github.com/artizirk/wdisplays.git
synced 2025-09-04 14:30:59 +03:00
Compare commits
6 Commits
6233901a88
...
157b8c51e8
Author | SHA1 | Date | |
---|---|---|---|
157b8c51e8 | |||
79225e57a3 | |||
4257ef446b | |||
cef925b96a | |||
|
6b7c637875 | ||
|
50e549465d |
16
CHANGELOG.md
16
CHANGELOG.md
@@ -6,6 +6,18 @@ This project tries to adhere to [Semantic Versioning][2].
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.1.3] - 2025-07-25
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
Fixed tiny GTK dropdown menu on Hyprland (Aleksanaa)
|
||||||
|
|
||||||
|
## [1.1.2] - 2025-07-25
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
Fixed compilation error with new GCC (ceamac)
|
||||||
|
|
||||||
## [1.1.1] - 2023-07-01
|
## [1.1.1] - 2023-07-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -52,7 +64,9 @@ Update application ID and readme (Jason Francis)
|
|||||||
[1]: https://keepachangelog.com/en/1.0.0/
|
[1]: https://keepachangelog.com/en/1.0.0/
|
||||||
[2]: https://semver.org/spec/v2.0.0.html
|
[2]: https://semver.org/spec/v2.0.0.html
|
||||||
|
|
||||||
[Unreleased]: https://github.com/artizirk/wdisplays/compare/1.1.1...HEAD
|
[Unreleased]: https://github.com/artizirk/wdisplays/compare/1.1.3...HEAD
|
||||||
|
[1.1.3]: https://github.com/artizirk/wdisplays/compare/1.1.2...1.1.3
|
||||||
|
[1.1.2]: https://github.com/artizirk/wdisplays/compare/1.1.1...1.1.2
|
||||||
[1.1.1]: https://github.com/artizirk/wdisplays/compare/1.1...1.1.1
|
[1.1.1]: https://github.com/artizirk/wdisplays/compare/1.1...1.1.1
|
||||||
[1.1]: https://github.com/artizirk/wdisplays/compare/1.0...1.1
|
[1.1]: https://github.com/artizirk/wdisplays/compare/1.0...1.1
|
||||||
[1.0]: https://github.com/artizirk/wdisplays/releases/tag/1.0
|
[1.0]: https://github.com/artizirk/wdisplays/releases/tag/1.0
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
project('network.cycles.wdisplays', 'c',
|
project('network.cycles.wdisplays', 'c',
|
||||||
license: 'GPL-3.0-or-later',
|
license: 'GPL-3.0-or-later',
|
||||||
version: '1.1.1'
|
version: '1.1.3'
|
||||||
)
|
)
|
||||||
|
|
||||||
conf = configuration_data({
|
conf = configuration_data({
|
||||||
|
@@ -195,6 +195,7 @@ static void wd_head_form_init(WdHeadForm *form) {
|
|||||||
g_menu_append(rotate_menu, "Rotate 180°", "head.rotate(180)");
|
g_menu_append(rotate_menu, "Rotate 180°", "head.rotate(180)");
|
||||||
g_menu_append(rotate_menu, "Rotate 270°", "head.rotate(270)");
|
g_menu_append(rotate_menu, "Rotate 270°", "head.rotate(270)");
|
||||||
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(priv->rotate_button), G_MENU_MODEL(rotate_menu));
|
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(priv->rotate_button), G_MENU_MODEL(rotate_menu));
|
||||||
|
gtk_menu_button_set_use_popover(GTK_MENU_BUTTON(priv->rotate_button), false);
|
||||||
|
|
||||||
static const GVariantType * const mode_types[] = {
|
static const GVariantType * const mode_types[] = {
|
||||||
G_VARIANT_TYPE_INT32,
|
G_VARIANT_TYPE_INT32,
|
||||||
@@ -255,6 +256,7 @@ void wd_head_form_update(WdHeadForm *form, const struct wd_head *head,
|
|||||||
g_menu_append_item(mode_menu, item);
|
g_menu_append_item(mode_menu, item);
|
||||||
}
|
}
|
||||||
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(priv->mode_button), G_MENU_MODEL(mode_menu));
|
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(priv->mode_button), G_MENU_MODEL(mode_menu));
|
||||||
|
gtk_menu_button_set_use_popover(GTK_MENU_BUTTON(priv->mode_button), false);
|
||||||
// Mode entries
|
// Mode entries
|
||||||
int w = head->custom_mode.width;
|
int w = head->custom_mode.width;
|
||||||
int h = head->custom_mode.height;
|
int h = head->custom_mode.height;
|
||||||
|
@@ -1039,6 +1039,7 @@ static void activate(GtkApplication* app, gpointer user_data) {
|
|||||||
g_menu_append(main_menu, "_Show Screen Contents", "app.capture-screens");
|
g_menu_append(main_menu, "_Show Screen Contents", "app.capture-screens");
|
||||||
g_menu_append(main_menu, "_Overlay Screen Names", "app.show-overlay");
|
g_menu_append(main_menu, "_Overlay Screen Names", "app.show-overlay");
|
||||||
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(state->menu_button), G_MENU_MODEL(main_menu));
|
gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(state->menu_button), G_MENU_MODEL(main_menu));
|
||||||
|
gtk_menu_button_set_use_popover(GTK_MENU_BUTTON(state->menu_button), false);
|
||||||
|
|
||||||
g_signal_connect(state->info_bar, "response", G_CALLBACK(info_response), state);
|
g_signal_connect(state->info_bar, "response", G_CALLBACK(info_response), state);
|
||||||
/* first child of GtkInfoBar is always GtkRevealer */
|
/* first child of GtkInfoBar is always GtkRevealer */
|
||||||
|
@@ -526,7 +526,7 @@ static void output_manager_handle_done(void *data,
|
|||||||
static const struct zwlr_output_manager_v1_listener output_manager_listener = {
|
static const struct zwlr_output_manager_v1_listener output_manager_listener = {
|
||||||
.head = output_manager_handle_head,
|
.head = output_manager_handle_head,
|
||||||
.done = output_manager_handle_done,
|
.done = output_manager_handle_done,
|
||||||
.finished = noop,
|
.finished = (void (*)(void *, struct zwlr_output_manager_v1 *))noop,
|
||||||
};
|
};
|
||||||
static void registry_handle_global(void *data, struct wl_registry *registry,
|
static void registry_handle_global(void *data, struct wl_registry *registry,
|
||||||
uint32_t name, const char *interface, uint32_t version) {
|
uint32_t name, const char *interface, uint32_t version) {
|
||||||
@@ -553,7 +553,7 @@ static void registry_handle_global(void *data, struct wl_registry *registry,
|
|||||||
|
|
||||||
static const struct wl_registry_listener registry_listener = {
|
static const struct wl_registry_listener registry_listener = {
|
||||||
.global = registry_handle_global,
|
.global = registry_handle_global,
|
||||||
.global_remove = noop,
|
.global_remove = (void (*)(void *, struct wl_registry *, uint32_t))noop,
|
||||||
};
|
};
|
||||||
|
|
||||||
void wd_add_output_management_listener(struct wd_state *state, struct
|
void wd_add_output_management_listener(struct wd_state *state, struct
|
||||||
@@ -603,10 +603,10 @@ static void output_name(void *data, struct zxdg_output_v1 *zxdg_output_v1,
|
|||||||
|
|
||||||
static const struct zxdg_output_v1_listener output_listener = {
|
static const struct zxdg_output_v1_listener output_listener = {
|
||||||
.logical_position = output_logical_position,
|
.logical_position = output_logical_position,
|
||||||
.logical_size = noop,
|
.logical_size = (void (*)(void *, struct zxdg_output_v1 *, int32_t, int32_t))noop,
|
||||||
.done = noop,
|
.done = (void (*)(void *, struct zxdg_output_v1 *))noop,
|
||||||
.name = output_name,
|
.name = output_name,
|
||||||
.description = noop
|
.description = (void (*)(void *, struct zxdg_output_v1 *, const char *))noop
|
||||||
};
|
};
|
||||||
|
|
||||||
void wd_add_output(struct wd_state *state, struct wl_output *wl_output,
|
void wd_add_output(struct wd_state *state, struct wl_output *wl_output,
|
||||||
|
Reference in New Issue
Block a user