aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-10-31 18:53:13 +0100
committerdec05eba <dec05eba@protonmail.com>2023-10-31 18:53:13 +0100
commit8e99189040dca3c0d34e84d5492763f9408d60c2 (patch)
treeff742bd29f27d7f755c3de278bd23e7eabac46e1
parentbe1e3bad3fe5ce3eca7c0670ed98dada2ec1bd86 (diff)
Wayland hotkey info
-rw-r--r--com.dec05eba.gpu_screen_recorder.appdata.xml5
-rw-r--r--src/main.cpp15
2 files changed, 17 insertions, 3 deletions
diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml
index b27a8cd..801f47d 100644
--- a/com.dec05eba.gpu_screen_recorder.appdata.xml
+++ b/com.dec05eba.gpu_screen_recorder.appdata.xml
@@ -52,6 +52,11 @@
</screenshots>
<releases>
+ <release version="3.2.2" date="2023-10-31">
+ <description>
+ <p>Intel: attempt to fix glitched graphics on some intel gpus. I dont know, ask intel why they are weird</p>
+ </description>
+ </release>
<release version="3.2.1" date="2023-10-22">
<description>
<p>AMD/Intel wayland: fix broken colors when system uses 10-bit</p>
diff --git a/src/main.cpp b/src/main.cpp
index 4e0d304..9051e80 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2294,7 +2294,10 @@ static GtkWidget* create_replay_page(GtkApplication *app, GtkStack *stack) {
gtk_widget_set_margin(GTK_WIDGET(grid), 10, 10, 10, 10);
GtkWidget *hotkey_active_label = NULL;
- if(!wayland) {
+ if(wayland) {
+ gtk_grid_attach(grid, gtk_label_new("Wayland compositors don't support global hotkeys yet, use X11"), 0, row++, 5, 1);
+ gtk_grid_attach(grid, gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), 0, row++, 5, 1);
+ } else {
hotkey_active_label = gtk_label_new("Press a key combination to set a new hotkey or Esc to cancel");
gtk_grid_attach(grid, hotkey_active_label, 0, row++, 5, 1);
@@ -2405,7 +2408,10 @@ static GtkWidget* create_recording_page(GtkApplication *app, GtkStack *stack) {
gtk_widget_set_margin(GTK_WIDGET(grid), 10, 10, 10, 10);
GtkWidget *hotkey_active_label = NULL;
- if(!wayland) {
+ if(wayland) {
+ gtk_grid_attach(grid, gtk_label_new("Wayland compositors don't support global hotkeys yet, use X11"), 0, row++, 3, 1);
+ gtk_grid_attach(grid, gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), 0, row++, 3, 1);
+ } else {
hotkey_active_label = gtk_label_new("Press a key combination to set a new hotkey or Esc to cancel");
gtk_grid_attach(grid, hotkey_active_label, 0, row++, 3, 1);
@@ -2482,7 +2488,10 @@ static GtkWidget* create_streaming_page(GtkApplication *app, GtkStack *stack) {
gtk_widget_set_margin(GTK_WIDGET(grid), 10, 10, 10, 10);
GtkWidget *hotkey_active_label = NULL;
- if(!wayland) {
+ if(wayland) {
+ gtk_grid_attach(grid, gtk_label_new("Wayland compositors don't support global hotkeys yet, use X11"), 0, row++, 3, 1);
+ gtk_grid_attach(grid, gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), 0, row++, 3, 1);
+ } else {
hotkey_active_label = gtk_label_new("Press a key combination to set a new hotkey or Esc to cancel");
gtk_grid_attach(grid, hotkey_active_label, 0, row++, 3, 1);