[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 02/03: Add DBG anchors
This is an automated email from the git hooks/post-receive script. T o Z p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository panel-plugins/xfce4-genmon-plugin. commit 41ed20e6513173515d8d58c1f3342fa2954467ce Author: ToZ Date: Sat Apr 11 19:59:22 2020 -0400 Add DBG anchors --- panel-plugin/main.c | 44 ++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/panel-plugin/main.c b/panel-plugin/main.c index 04f0941..894bfd7 100644 --- a/panel-plugin/main.c +++ b/panel-plugin/main.c @@ -96,6 +96,8 @@ static void ExecOnClickCmd (GtkWidget *p_wSc, void *p_pvPlugin) struct monitor_t *poMonitor = &(poPlugin->oMonitor); GError *error = NULL; +DBG("\n"); + xfce_spawn_command_line_on_screen( gdk_screen_get_default(), poMonitor->onClickCmd, 0, 0, &error ); if (error) { char *first = g_strdup_printf (_("Could not run \"%s\""), poMonitor->onClickCmd); @@ -116,6 +118,8 @@ static void ExecOnValClickCmd (GtkWidget *p_wSc, void *p_pvPlugin) struct monitor_t *poMonitor = &(poPlugin->oMonitor); GError *error = NULL; +DBG("\n"); + xfce_spawn_command_line_on_screen( gdk_screen_get_default(), poMonitor->onValClickCmd, 0, 0, &error ); if (error) { char *first = g_strdup_printf (_("Could not run \"%s\""), poMonitor->onValClickCmd); @@ -142,6 +146,8 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin) poMonitor->iconused=0; +DBG("\n"); + g_free (p_poPlugin->acValue); if (poConf->acCmd[0]) p_poPlugin->acValue = genmon_SpawnCmd (poConf->acCmd, 1); @@ -370,6 +376,8 @@ static gboolean SetTimer (void *p_pvPlugin) struct genmon_t *poPlugin = (genmon_t *) p_pvPlugin; struct param_t *poConf = &(poPlugin->oConf.oParam); +DBG("\n"); + DisplayCmdOutput (poPlugin); if (poPlugin->iTimerId == 0) @@ -408,6 +416,8 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin) poPlugin->plugin = plugin; +DBG("\n"); + poConf->acCmd = g_strdup (""); poConf->acTitle = g_strdup ("(genmon)"); @@ -591,6 +601,7 @@ static void genmon_free (XfcePanelPlugin *plugin, genmon_t *poPlugin) /* Plugin API */ { TRACE ("genmon_free()\n"); +DBG("\n"); if (poPlugin->iTimerId) g_source_remove (poPlugin->iTimerId); @@ -634,8 +645,8 @@ static int SetMonitorFont (void *p_pvPlugin) css = g_strdup_printf(".label { font: %s; }", #endif poConf->acFont); -/* Setup Gtk style */ -//DBG("css: %s",css); + +DBG("\n"); css_provider = gtk_css_provider_new (); gtk_css_provider_load_from_data (css_provider, css, strlen(css), NULL); @@ -695,6 +706,8 @@ static void genmon_read_config (XfcePanelPlugin *plugin, genmon_t *poPlugin) char *file; XfceRc *rc; +DBG("\n"); + if (!(file = xfce_panel_plugin_lookup_rc_file (plugin))) return; @@ -743,6 +756,8 @@ static void genmon_write_config (XfcePanelPlugin *plugin, genmon_t *poPlugin) XfceRc *rc; char *file; +DBG("\n"); + if (!(file = xfce_panel_plugin_save_location (plugin, TRUE))) return; @@ -777,6 +792,8 @@ static void SetCmd (GtkWidget *p_wTF, void *p_pvPlugin) struct param_t *poConf = &(poPlugin->oConf.oParam); const char *pcCmd = gtk_entry_get_text (GTK_ENTRY (p_wTF)); +DBG("\n"); + g_free (poConf->acCmd); poConf->acCmd = g_strdup (pcCmd); }/* SetCmd() */ @@ -789,6 +806,8 @@ static void ToggleTitle (GtkWidget *p_w, void *p_pvPlugin) struct genmon_t *poPlugin = (genmon_t *) p_pvPlugin; struct param_t *poConf = &(poPlugin->oConf.oParam); struct gui_t *poGUI = &(poPlugin->oConf.oGUI); + +DBG("\n"); poConf->fTitleDisplayedtmp = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (p_w)); @@ -806,6 +825,8 @@ static void SetLabel (GtkWidget *p_wTF, void *p_pvPlugin) struct param_t *poConf = &(poPlugin->oConf.oParam); struct monitor_t *poMonitor = &(poPlugin->oMonitor); const char *acTitle = gtk_entry_get_text (GTK_ENTRY (p_wTF)); + +DBG("\n"); g_free (poConf->acTitle); poConf->acTitle = g_strdup (acTitle); @@ -822,6 +843,8 @@ static void SetPeriod (GtkWidget *p_wSc, void *p_pvPlugin) float r; TRACE ("SetPeriod()\n"); +DBG("\n"); + r = gtk_spin_button_get_value (GTK_SPIN_BUTTON (p_wSc)); poConf->iPeriod_mstmp = (r * 1000); }/* SetPeriod() */ @@ -836,6 +859,8 @@ static void UpdateConf (void *p_pvPlugin) struct gui_t *poGUI = &(poConf->oGUI); TRACE ("UpdateConf()\n"); +DBG("\n"); + SetCmd (poGUI->wTF_Cmd, poPlugin); SetLabel (poGUI->wTF_Title, poPlugin); SetMonitorFont (poPlugin); @@ -861,6 +886,8 @@ static void About (XfcePanelPlugin *p
[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] branch master updated (bfa256f -> aaa3a6e)
This is an automated email from the git hooks/post-receive script. T o Z p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository panel-plugins/xfce4-genmon-plugin. from bfa256f I18n: Update translation zh_TW (100%). new 38cd82f Add amd elements new 41ed20e Add DBG anchors new aaa3a6e Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-genmon-plugin The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: panel-plugin/main.c | 182 ++-- 1 file changed, 175 insertions(+), 7 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 03/03: Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-genmon-plugin
This is an automated email from the git hooks/post-receive script. T o Z p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository panel-plugins/xfce4-genmon-plugin. commit aaa3a6e80c00c2b3ed850cf8c160b73a1c737ea8 Merge: 41ed20e bfa256f Author: ToZ Date: Sat Apr 11 20:00:02 2020 -0400 Merge branch 'master' of git://git.xfce.org/panel-plugins/xfce4-genmon-plugin po/zh_TW.po | 47 ++- 1 file changed, 26 insertions(+), 21 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/03: Add amd elements
This is an automated email from the git hooks/post-receive script. T o Z p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository panel-plugins/xfce4-genmon-plugin. commit 38cd82ff4d030d1e3fb66c2ce69560f2b7b260a4 Author: ToZ Date: Sat Apr 11 19:59:01 2020 -0400 Add amd elements --- panel-plugin/main.c | 140 +--- 1 file changed, 134 insertions(+), 6 deletions(-) diff --git a/panel-plugin/main.c b/panel-plugin/main.c index ef1b2cb..04f0941 100644 --- a/panel-plugin/main.c +++ b/panel-plugin/main.c @@ -76,6 +76,8 @@ typedef struct monitor_t { GtkWidget *wImgButton; char *onClickCmd; char *onValClickCmd; +int iconused; +char *iconName; } monitor_t; typedef struct genmon_t { @@ -138,6 +140,8 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin) char *end; intnewVersion=0; +poMonitor->iconused=0; + g_free (p_poPlugin->acValue); if (poConf->acCmd[0]) p_poPlugin->acValue = genmon_SpawnCmd (poConf->acCmd, 1); @@ -188,6 +192,80 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin) gtk_widget_hide (poMonitor->wImage); } +/* Test if the result is an Icon */ +begin=strstr(p_poPlugin->acValue, ""); +end=strstr(p_poPlugin->acValue, ""); +if (begin && end && begin < end) +{ +gint size; +gint icon_size; +poMonitor->iconused = 1; + +/* Get the icon name */ +poMonitor->iconName = g_strndup (begin + 6, end - begin - 6); + +#if !LIBXFCE4PANEL_CHECK_VERSION (4, 13, 0) + GtkStyleContext *context; + GtkBorder padding, border; + gint width; + gint xthickness; + gint ythickness; +#endif + size = xfce_panel_plugin_get_size (p_poPlugin->plugin) / xfce_panel_plugin_get_nrows (p_poPlugin->plugin); + gtk_widget_set_size_request (GTK_WIDGET (poMonitor->wButton), size, size); +#if LIBXFCE4PANEL_CHECK_VERSION (4,13,0) + icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (p_poPlugin->plugin)); +#else + /* Calculate the size of the widget because the theme can override it */ + context = gtk_widget_get_style_context (GTK_WIDGET (poMonitor->wButton)); + gtk_style_context_get_padding (context, gtk_widget_get_state_flags (GTK_WIDGET (poMonitor->wButton)), &padding); + gtk_style_context_get_border (context, gtk_widget_get_state_flags (GTK_WIDGET (poMonitor->wButton)), &border); + xthickness = padding.left + padding.right + border.left + border.right; + ythickness = padding.top + padding.bottom + border.top + border.bottom; + + /* Calculate the size of the space left for the icon */ + width = size - 2 * MAX (xthickness, ythickness); + + /* Since symbolic icons are usually only provided in 16px we + * try to be clever and use size steps */ + if (width <= 21) +icon_size = 16; + else if (width >=22 && width <= 29) +icon_size = 24; + else if (width >= 30 && width <= 40) +icon_size = 32; + else +icon_size = width; +#endif + + gtk_image_set_from_icon_name (GTK_IMAGE (poMonitor->wImage), poMonitor->iconName, icon_size); + gtk_image_set_pixel_size (GTK_IMAGE (poMonitor->wImage), icon_size); + gtk_image_set_from_icon_name (GTK_IMAGE (poMonitor->wImgButton), poMonitor->iconName, icon_size); + gtk_image_set_pixel_size (GTK_IMAGE (poMonitor->wImgButton), icon_size); + +/* Test if the result has a clickable Icon (button) */ +begin=strstr(p_poPlugin->acValue, ""); +end=strstr(p_poPlugin->acValue, ""); +if (begin && end && begin < end) +{ +/* Get the command path */ +g_free (poMonitor->onClickCmd); +poMonitor->onClickCmd = g_strndup (begin + 11, end - begin - 11); + +gtk_widget_show (poMonitor->wButton); +gtk_widget_show (poMonitor->wImgButton); +gtk_widget_hide (poMonitor->wImage); +} +else +{ +gtk_widget_hide (poMonitor->wButton); +gtk_widget_hide (poMonitor->wImgButton); +gtk_widget_show (poMonitor->wImage); +} + +newVersion=1; +} + /* Test if the result is a Text */ begin=strstr(p_poPlugin->acValue, ""); end=strstr(p_poPlugin->acValue, ""); @@ -557,7 +635,7 @@ static int SetMonitorFont (void *p_pvPlugin) #endif poConf->acFont); /* Setup Gtk style */ -DBG("css: %s",css); +//DBG("css: %s",css); css_provider = gtk_css_provider_new (); gtk_css_provider_load_from_dat
[Xfce4-commits] [xfce/exo] 01/01: desktop-item-edit: Use new XfceTitledDialog API
This is an automated email from the git hooks/post-receive script. o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/exo. commit 73a3a7168ef15672ec589fa99e6c72aeb28da2d3 Author: Simon Steinbeiss Date: Sat Apr 11 23:09:54 2020 +0200 desktop-item-edit: Use new XfceTitledDialog API Also, add support for libxfce4ui 4.15.x --- exo-desktop-item-edit/main.c | 41 ++--- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/exo-desktop-item-edit/main.c b/exo-desktop-item-edit/main.c index 7596f25..0a2d212 100644 --- a/exo-desktop-item-edit/main.c +++ b/exo-desktop-item-edit/main.c @@ -110,10 +110,12 @@ exo_die_error (const gchar *format, static void -exo_die_help (GtkWidget *button, - GtkWidget *dialog) +exo_die_response_cb (GtkDialog *dialog, + gint response_id, + gpointer user_data) { - xfce_dialog_show_help (GTK_WINDOW (dialog), "exo", "desktop-item-edit", NULL); + if (response_id == GTK_RESPONSE_HELP) +xfce_dialog_show_help (GTK_WINDOW (dialog), "exo", "desktop-item-edit", NULL); } @@ -321,25 +323,26 @@ main (int argc, char **argv) g_type_class_unref (enum_klass); /* allocate the dialog */ - dialog = xfce_titled_dialog_new_with_buttons (opt_create_new ? _(CREATE_TITLES[mode]) : _(EDIT_TITLES[mode]), -NULL, 0, -_("_Cancel"), GTK_RESPONSE_CANCEL, -NULL); + dialog = xfce_titled_dialog_new_with_mixed_buttons (opt_create_new ? _(CREATE_TITLES[mode]) : _(EDIT_TITLES[mode]), + NULL, 0, + "help-browser", _("_Help"), GTK_RESPONSE_HELP, + "", _("_Cancel"), GTK_RESPONSE_CANCEL, + opt_create_new ? ("document-new") : ("document-save"), opt_create_new ? _("C_reate") : _("_Save"), GTK_RESPONSE_ACCEPT, + NULL); gtk_window_set_default_size (GTK_WINDOW (dialog), 350, 375); gtk_window_set_icon_name (GTK_WINDOW (dialog), ICON_NAMES[mode]); + g_signal_connect (G_OBJECT (dialog), "response", +G_CALLBACK (exo_die_response_cb), dialog); + +#if LIBXFCE4UI_CHECK_VERSION (4, 15, 1) + xfce_titled_dialog_set_default_response (XFCE_TITLED_DIALOG (dialog), GTK_RESPONSE_ACCEPT); +#else + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT); + gtk_button_box_set_child_secondary (exo_gtk_dialog_get_action_area (GTK_DIALOG (dialog)), + gtk_dialog_get_widget_for_response (GTK_RESPONSE_HELP), + TRUE); +#endif - button = gtk_button_new_with_mnemonic (_("_Help")); - exo_gtk_dialog_add_secondary_button(GTK_DIALOG (dialog), GTK_WIDGET (button)); - g_signal_connect (G_OBJECT (button), "clicked", - G_CALLBACK (exo_die_help), dialog); - gtk_widget_show (button); - - /* add the "Create"/"Save" button (as default) */ - button = gtk_button_new_with_mnemonic (opt_create_new ? _("C_reate") : _("_Save")); - gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_ACCEPT); - gtk_widget_set_can_default (button, TRUE); - gtk_widget_grab_default (button); - gtk_widget_show (button); /* allocate the editor widget */ editor = exo_die_editor_new (); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/exo] branch master updated (6b7798f -> 73a3a71)
This is an automated email from the git hooks/post-receive script. o c h o s i p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/exo. from 6b7798f Fix GTimeVal deprecation new 73a3a71 desktop-item-edit: Use new XfceTitledDialog API The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: exo-desktop-item-edit/main.c | 41 ++--- 1 file changed, 22 insertions(+), 19 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/exo] 02/03: Replace deprecated G_INLINE_FUNC macro
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/exo. commit 99b499183ff5ca1c68547b5c06aff47f05273842 Author: Andre Miranda Date: Sat Apr 11 15:28:10 2020 -0300 Replace deprecated G_INLINE_FUNC macro --- exo/exo-utils.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exo/exo-utils.h b/exo/exo-utils.h index 489fcf5..3b4bcdb 100644 --- a/exo/exo-utils.h +++ b/exo/exo-utils.h @@ -41,8 +41,8 @@ gbooleanexo_noop_false (void) G_GNUC_PURE; /* inline function implementations */ #if (defined(G_CAN_INLINE) && defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__)) || defined(__EXO_UTILS_C__) -G_INLINE_FUNC void exo_atomic_inc (gint *value); -G_INLINE_FUNC gboolean exo_atomic_dec (gint *value); +static inline void exo_atomic_inc (gint *value); +static inline gboolean exo_atomic_dec (gint *value); /** * exo_atomic_inc: @@ -55,7 +55,7 @@ G_INLINE_FUNC gboolean exo_atomic_dec (gint *value); * * Since : 0.3.1 **/ -G_INLINE_FUNC void +static inline void exo_atomic_inc (gint *value) { #if defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__) @@ -81,7 +81,7 @@ exo_atomic_inc (gint *value) * * Since : 0.3.1 **/ -G_INLINE_FUNC gboolean +static inline gboolean exo_atomic_dec (gint *value) { #if defined(__GNUC__) && defined(__i386__) && defined(__OPTIMIZE__) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/exo] 03/03: Fix GTimeVal deprecation
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/exo. commit 6b7798fa6a6bb531afadcc2ecef6763ad9504de6 Author: Andre Miranda Date: Sat Apr 11 15:28:40 2020 -0300 Fix GTimeVal deprecation --- exo-helper/exo-helper.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/exo-helper/exo-helper.c b/exo-helper/exo-helper.c index de77b14..b5c1e5a 100644 --- a/exo-helper/exo-helper.c +++ b/exo-helper/exo-helper.c @@ -362,8 +362,8 @@ exo_helper_execute (ExoHelper *helper, const gchar *parameter, GError **error) { - GTimeVal previous; - GTimeVal current; + gint64previous; + gint64current; GdkDisplay *display; gboolean succeed = FALSE; GError *err = NULL; @@ -444,7 +444,7 @@ exo_helper_execute (ExoHelper *helper, if (G_LIKELY (succeed)) { /* determine the current time */ - g_get_current_time (&previous); + previous = g_get_monotonic_time (); /* wait up to 5 seconds to see whether the command worked */ for (;;) @@ -473,10 +473,10 @@ exo_helper_execute (ExoHelper *helper, } /* determine the current time */ - g_get_current_time (¤t); + current = g_get_monotonic_time (); /* check if the command is still running after 5 seconds (which indicates that the command worked) */ - if (((current.tv_sec - previous.tv_sec) * 1000ll + (current.tv_usec - previous.tv_usec) / 1000ll) > 5000ll) + if ((current - previous) / G_USEC_PER_SEC > 5) break; /* wait some time */ -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/exo] branch master updated (dba8f14 -> 6b7798f)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/exo. from dba8f14 Wrong keyboard navigation after using rubberband in exo-icon-view (Bug #16286) new a621d81 Replace deprecated macro new 99b4991 Replace deprecated G_INLINE_FUNC macro new 6b7798f Fix GTimeVal deprecation The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: exo-helper/exo-helper.c | 10 +- exo/exo-icon-view.c | 3 +-- exo/exo-utils.h | 8 3 files changed, 10 insertions(+), 11 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/exo] 01/03: Replace deprecated macro
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/exo. commit a621d811bc1076ee938fb888e5f1f6e2265429c1 Author: Andre Miranda Date: Sat Apr 11 15:02:20 2020 -0300 Replace deprecated macro --- exo/exo-icon-view.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c index 7705bef..9a2bc8c 100644 --- a/exo/exo-icon-view.c +++ b/exo/exo-icon-view.c @@ -152,7 +152,6 @@ typedef struct _ExoIconViewItem ExoIconViewItem; -#define EXO_ICON_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EXO_TYPE_ICON_VIEW, ExoIconViewPrivate)) #define EXO_ICON_VIEW_CELL_INFO(obj) ((ExoIconViewCellInfo *) (obj)) #define EXO_ICON_VIEW_CHILD(obj) ((ExoIconViewChild *) (obj)) #define EXO_ICON_VIEW_ITEM(obj)((ExoIconViewItem *) (obj)) @@ -1355,7 +1354,7 @@ exo_icon_view_init (ExoIconView *icon_view) GTK_STYLE_CLASS_VIEW); #endif - icon_view->priv = EXO_ICON_VIEW_GET_PRIVATE (icon_view); + icon_view->priv = exo_icon_view_get_instance_private (icon_view); icon_view->priv->selection_mode = GTK_SELECTION_SINGLE; icon_view->priv->pressed_button = -1; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] branch master updated (4adbe95 -> 5ec25f3)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfdesktop. from 4adbe95 Correct spelling of file system (Bug #16543) new 5ec25f3 Increase minimum desktop icon size to 16 (Bug #16667) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: settings/xfdesktop-settings-ui.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] 01/01: Increase minimum desktop icon size to 16 (Bug #16667)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfdesktop. commit 5ec25f3dbc2e24a07964e1d18e0ac7fe582da68f Author: Yousuf Philips Date: Sat Apr 11 14:21:15 2020 -0300 Increase minimum desktop icon size to 16 (Bug #16667) --- settings/xfdesktop-settings-ui.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/xfdesktop-settings-ui.glade b/settings/xfdesktop-settings-ui.glade index 78d9cec..f27e374 100644 --- a/settings/xfdesktop-settings-ui.glade +++ b/settings/xfdesktop-settings-ui.glade @@ -4,7 +4,7 @@ -8 +16 192 48 2 -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] branch master updated (349a2f1 -> 4adbe95)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfdesktop. from 349a2f1 Increase desktop icon increments to 2 (Bug #16668) new 4adbe95 Correct spelling of file system (Bug #16543) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: settings/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] 01/01: Correct spelling of file system (Bug #16543)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfdesktop. commit 4adbe953e64702520a7190801a725012aee3a9e3 Author: Yousuf Philips Date: Fri Mar 13 15:01:08 2020 +0400 Correct spelling of file system (Bug #16543) --- settings/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/main.c b/settings/main.c index baa3d8c..707af9a 100644 --- a/settings/main.c +++ b/settings/main.c @@ -418,7 +418,7 @@ setup_special_icon_list(GtkBuilder *gxml, } icons[] = { { N_("Home"), "user-home", "gnome-fs-desktop", DESKTOP_ICONS_SHOW_HOME, TRUE }, -{ N_("Filesystem"), "drive-harddisk", "gnome-dev-harddisk", +{ N_("File System"), "drive-harddisk", "gnome-dev-harddisk", DESKTOP_ICONS_SHOW_FILESYSTEM, TRUE }, { N_("Trash"), "user-trash", "gnome-fs-trash-empty", DESKTOP_ICONS_SHOW_TRASH, TRUE }, -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] branch master updated (f2332a1 -> 349a2f1)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfdesktop. from f2332a1 Unselect all items after single click activation new 349a2f1 Increase desktop icon increments to 2 (Bug #16668) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: settings/xfdesktop-settings-ui.glade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] 01/01: Increase desktop icon increments to 2 (Bug #16668)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfdesktop. commit 349a2f11481126b79984220ab11f2ed2bf132e86 Author: Yousuf Philips Date: Sat Apr 11 01:39:28 2020 +0400 Increase desktop icon increments to 2 (Bug #16668) --- settings/xfdesktop-settings-ui.glade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/xfdesktop-settings-ui.glade b/settings/xfdesktop-settings-ui.glade index d8a28e0..78d9cec 100644 --- a/settings/xfdesktop-settings-ui.glade +++ b/settings/xfdesktop-settings-ui.glade @@ -7,7 +7,7 @@ 8 192 48 -1 +2 10 @@ -19,7 +19,7 @@ 256 128 -1 +2 10 -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] branch master updated (09fc6c9 -> 2390012)
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfwm4. from 09fc6c9 compositor: Fix unwanted change new 2390012 compositor: Smarter vblank auto mode The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/compositor.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Smarter vblank auto mode
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfwm4. commit 23900123ad8418149897a094d1096d6ecb984d3c Author: Olivier Fourdan Date: Sat Apr 11 18:55:36 2020 +0200 compositor: Smarter vblank auto mode With vblank mode set to auto (default), use the GL renderer to select XPresent on Intel and AMD if available. Signed-off-by: Olivier Fourdan --- src/compositor.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 2e58a2d..5cafb7d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1064,6 +1064,14 @@ check_glx_renderer (ScreenInfo *screen_info) "SVGA3D", NULL }; +#if HAVE_PRESENT_EXTENSION +const char *prefer_xpresent[] = { +"Intel", +"AMD", +NULL +}; +#endif /* HAVE_PRESENT_EXTENSION */ + int i; g_return_val_if_fail (screen_info != NULL, FALSE); @@ -1086,6 +1094,20 @@ check_glx_renderer (ScreenInfo *screen_info) return FALSE; } +#if HAVE_PRESENT_EXTENSION +if (screen_info->vblank_mode == VBLANK_AUTO) +{ +i = 0; +while (prefer_xpresent[i] && !strcasestr (glRenderer, prefer_xpresent[i])) +i++; +if (prefer_xpresent[i]) +{ +g_warning ("Prefer XPresent with %s", glRenderer); +return FALSE; +} +} +#endif /* HAVE_PRESENT_EXTENSION */ + return TRUE; } @@ -1357,7 +1379,6 @@ init_glx (ScreenInfo *screen_info) if (!check_glx_renderer (screen_info)) { -g_warning ("Screen is missing required GL renderer, GL support disabled."); free_glx_data (screen_info); return FALSE; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] 01/01: Unselect all items after single click activation
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfdesktop. commit f2332a1f834dad94049e30ce25f92425a7df78c9 Author: Theo Linkspfeifer Date: Mon Mar 30 12:06:00 2020 +0200 Unselect all items after single click activation --- src/xfdesktop-icon-view.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c index 774b3e0..a21a7ad 100644 --- a/src/xfdesktop-icon-view.c +++ b/src/xfdesktop-icon-view.c @@ -959,7 +959,6 @@ xfdesktop_icon_view_button_press(GtkWidget *widget, g_signal_emit(G_OBJECT(icon_view), __signals[SIG_ICON_ACTIVATED], 0, NULL); xfdesktop_icon_activated(icon); - xfdesktop_icon_view_unselect_all(icon_view); } } @@ -1019,7 +1018,7 @@ xfdesktop_icon_view_button_release(GtkWidget *widget, g_signal_emit(G_OBJECT(icon_view), __signals[SIG_ICON_ACTIVATED], 0, NULL); xfdesktop_icon_activated(icon); -xfdesktop_icon_view_unselect_item(icon_view, icon); +xfdesktop_icon_view_unselect_all(icon_view); } } -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] branch master updated (f3f9bdb -> f2332a1)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfdesktop. from f3f9bdb Fix memory leak when reconnecting DP monitor (Bug #16314) new f2332a1 Unselect all items after single click activation The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/xfdesktop-icon-view.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] branch xfce-4.14 updated (75acebb -> bd6cd3c)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfdesktop. from 75acebb I18n: Update translation ast (91%). new bd6cd3c Fix memory leak when reconnecting DP monitor (Bug #16314) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/xfce-backdrop.c | 6 ++ 1 file changed, 6 insertions(+) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix memory leak when reconnecting DP monitor (Bug #16314)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfdesktop. commit f3f9bdb5a9162480ba1a892d37859321f37c4d51 Author: Jan Ziak <0xe2.0x9a.0...@gmail.com> Date: Sat Apr 11 15:43:55 2020 +0200 Fix memory leak when reconnecting DP monitor (Bug #16314) Signed-off-by: Jan Ziak <0xe2.0x9a.0...@gmail.com> --- src/xfce-backdrop.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c index bd9180e..955e51f 100644 --- a/src/xfce-backdrop.c +++ b/src/xfce-backdrop.c @@ -1599,6 +1599,11 @@ xfce_backdrop_image_data_release(XfceBackdropImageData *image_data) if(image_data->loader) g_object_unref(image_data->loader); + +if(image_data->backdrop) { +g_object_unref(image_data->backdrop); +image_data->backdrop = NULL; +} } /** @@ -1671,6 +1676,7 @@ xfce_backdrop_generate_async(XfceBackdrop *backdrop) backdrop->priv->image_data = image_data; image_data->backdrop = backdrop; +g_object_ref(backdrop); image_data->loader = gdk_pixbuf_loader_new(); image_data->cancellable = g_cancellable_new(); image_data->image_buffer = g_new0(guchar, XFCE_BACKDROP_BUFFER_SIZE); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] branch master updated (19c5cce -> f3f9bdb)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfdesktop. from 19c5cce I18n: Update translation pt_BR (100%). new f3f9bdb Fix memory leak when reconnecting DP monitor (Bug #16314) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/xfce-backdrop.c | 6 ++ 1 file changed, 6 insertions(+) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix memory leak when reconnecting DP monitor (Bug #16314)
This is an automated email from the git hooks/post-receive script. a n d r e p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfdesktop. commit bd6cd3ce62057370a9e7c6699e52385f479e3390 Author: Jan Ziak <0xe2.0x9a.0...@gmail.com> Date: Sat Apr 11 15:43:55 2020 +0200 Fix memory leak when reconnecting DP monitor (Bug #16314) Signed-off-by: Jan Ziak <0xe2.0x9a.0...@gmail.com> --- src/xfce-backdrop.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c index bd9180e..955e51f 100644 --- a/src/xfce-backdrop.c +++ b/src/xfce-backdrop.c @@ -1599,6 +1599,11 @@ xfce_backdrop_image_data_release(XfceBackdropImageData *image_data) if(image_data->loader) g_object_unref(image_data->loader); + +if(image_data->backdrop) { +g_object_unref(image_data->backdrop); +image_data->backdrop = NULL; +} } /** @@ -1671,6 +1676,7 @@ xfce_backdrop_generate_async(XfceBackdrop *backdrop) backdrop->priv->image_data = image_data; image_data->backdrop = backdrop; +g_object_ref(backdrop); image_data->loader = gdk_pixbuf_loader_new(); image_data->cancellable = g_cancellable_new(); image_data->image_buffer = g_new0(guchar, XFCE_BACKDROP_BUFFER_SIZE); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 09/18: themes: Fix leftover SVG overlay
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit e6212e62ec7cb3ea8c6aeef00917168c7272e9fa Author: Olivier Fourdan Date: Wed Oct 16 13:18:23 2019 +0200 themes: Fix leftover SVG overlay Bug: 16009 Signed-off-by: Olivier Fourdan (cherry picked from commit 1d0a4a95b47d6f2b524ec61bfb0ac48bb838911c) --- themes/default-hdpi/close-inactive | 164 --- themes/default-xhdpi/close-inactive | 164 --- themes/default/hide-inactive.png | Bin 150 -> 133 bytes themes/default/hide-inactive.svg | 31 ++--- themes/default/maximize-inactive.png | Bin 190 -> 133 bytes themes/default/maximize-inactive.svg | 30 ++--- themes/default/maximize-toggled-inactive.png | Bin 220 -> 133 bytes themes/default/maximize-toggled-inactive.svg | 32 ++ 8 files changed, 22 insertions(+), 399 deletions(-) diff --git a/themes/default-hdpi/close-inactive b/themes/default-hdpi/close-inactive deleted file mode 100644 index 857ae9e..000 --- a/themes/default-hdpi/close-inactive +++ /dev/null @@ -1,164 +0,0 @@ - - - -http://purl.org/dc/elements/1.1/"; - xmlns:cc="http://creativecommons.org/ns#"; - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; - xmlns:svg="http://www.w3.org/2000/svg"; - xmlns="http://www.w3.org/2000/svg"; - xmlns:xlink="http://www.w3.org/1999/xlink"; - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"; - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"; - width="33" - height="43" - id="svg2" - sodipodi:version="0.32" - inkscape:version="0.48.5 r10040" - version="1.0" - sodipodi:docname="button.svg" - inkscape:output_extension="org.inkscape.output.svg.inkscape"> - - - - - - - - - - - - - - - - - - image/svg+xml - http://purl.org/dc/dcmitype/StillImage"; /> - Title - - - Olivier Fourdan - - - - - - - - - - - - - - - - - - - - diff --git a/themes/default-xhdpi/close-inactive b/themes/default-xhdpi/close-inactive deleted file mode 100644 index 8548700..000 --- a/themes/default-xhdpi/close-inactive +++ /dev/null @@ -1,164 +0,0 @@ - - - -http://purl.org/dc/elements/1.1/"; - xmlns:cc="http://creativecommons.org/ns#"; - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; - xmlns:svg="http://www.w3.org/2000/svg"; - xmlns="http://www.w3.org/2000/svg"; - xmlns:xlink="http://www.w3.org/1999/xlink"; - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"; - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"; - width="44" - height="58" - id="svg2" - sodipodi:version="0.32" - inkscape:version="0.48.5 r10040" - version="1.0" - sodipodi:docname="close-active.svg" - inkscape:output_extension="org.inkscape.output.svg.inkscape"> - - - - - - - - - - - - - - - - - - image/svg+xml - http://purl.org/dc/dcmitype/StillImage"; /> - Title - - - Olivier Fourdan - - - - - - - - - - - - - - - - - - - - diff --git a/themes/default/hide-inactive.png b/themes/default/hide-inactive.png index da38b08..1e5779a 100644 Binary files a/themes/default/hide-inactive.png and b/themes/default/hide-inactive.png differ diff --git a/themes/default/hide-inactive.svg b/themes/default/hide-inactive.svg index 8a279ef..d174d82 100644 --- a/themes/default/hide-inactive.svg +++ b/themes/default/hide-inactive.svg @@ -10,7 +10,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"; xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"; - width="22" + width="21" height="29" id="svg2" sodipodi:version="0.32" @@ -19,9 +19,9 @@ sodipodi:docname="hide-inactive.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"> + id="metadata39" /> + id="defs37" /> + id="namedview35" /> @@ -122,7 +122,7 @@ style="display:inline"> - - - - - diff --git a/themes/default/maximize-inactive.png b/themes/default/maximize-inactive.png index 0c3a6e8..1e5779a 100644 Binary files a/themes/default/maximize-inactive.png and b/themes/default/maximize-inactive.png differ diff --git a/themes
[Xfce4-commits] [xfce/xfwm4] 11/18: setting-dialog: Add keywords to .desktop files
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 1c4c83a7ff4e280b1c5177214d0a5e3c2ca73065 Author: Yousuf Philips Date: Tue Mar 3 21:28:43 2020 +0400 setting-dialog: Add keywords to .desktop files Bug: 16621 Add keywords to the desktop definition files. (cherry picked from commit 8dd22120b4c4d97259bf5f35cd0eb08d6226a3a3) --- settings-dialogs/xfce-wm-settings.desktop.in | 1 + settings-dialogs/xfce-wmtweaks-settings.desktop.in | 1 + settings-dialogs/xfce-workspaces-settings.desktop.in | 1 + 3 files changed, 3 insertions(+) diff --git a/settings-dialogs/xfce-wm-settings.desktop.in b/settings-dialogs/xfce-wm-settings.desktop.in index 45ee795..875c38f 100644 --- a/settings-dialogs/xfce-wm-settings.desktop.in +++ b/settings-dialogs/xfce-wm-settings.desktop.in @@ -2,6 +2,7 @@ Version=1.0 _Name=Window Manager _Comment=Configure window behavior and shortcuts +_Keywords=windows;management;settings;preferences;themes;styles;decorations;title bar;font;buttons;menu;minimize;maximize;shade;roll up;layout;keyboard shortcuts;focus;snapping;screen;workspaces;edges;corner;hide content;move;resize;moving;resizing;double click; Exec=xfwm4-settings Icon=xfwm4 Terminal=false diff --git a/settings-dialogs/xfce-wmtweaks-settings.desktop.in b/settings-dialogs/xfce-wmtweaks-settings.desktop.in index 0dde0ef..2057cca 100644 --- a/settings-dialogs/xfce-wmtweaks-settings.desktop.in +++ b/settings-dialogs/xfce-wmtweaks-settings.desktop.in @@ -2,6 +2,7 @@ Version=1.0 _Name=Window Manager Tweaks _Comment=Fine-tune window behaviour and effects +_Keywords=windows;behavior;settings;preferences;cycling;cycle;switching;focus;raises;accessibility;key;dragging;move;moving;hide;frame;title bar;maximized;tile;screen;edge;hot corner;snapping;mouse wheel;roll up;workspaces;placement;compositor;compositing;enable;disable;shadows;decorations;opacity;resize;inactive;preview;compiz;transitions; Exec=xfwm4-tweaks-settings Icon=wmtweaks Terminal=false diff --git a/settings-dialogs/xfce-workspaces-settings.desktop.in b/settings-dialogs/xfce-workspaces-settings.desktop.in index 7f5292e..cc929a1 100644 --- a/settings-dialogs/xfce-workspaces-settings.desktop.in +++ b/settings-dialogs/xfce-workspaces-settings.desktop.in @@ -2,6 +2,7 @@ Version=1.0 _Name=Workspaces _Comment=Configure layout, names and margins +_Keywords=workspaces;settings;preferences;virtual desktops;number;windows;screen;margins; Exec=xfwm4-workspace-settings Icon=xfce4-workspaces Terminal=false -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 18/18: tabwin: Ensure selected windows remain selected
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 0c5c22f0014d246ad97c2864262ed88faecfd976 Author: Simon Steinbeiss Date: Wed Jan 15 23:21:48 2020 +0100 tabwin: Ensure selected windows remain selected Bug: #16382 After hovering the currently selected item the tabwin would be left without a selected item. This patch makes sure that on the leave event the selected item regains its selected style. Also switch from GTK_STATE_FLAG_ACTIVE to GTK_STATE_FLAG_CHECKED. (cherry picked from commit f41e57e1b4086bb1f586c0ee79e3856f092a128b) --- src/tabwin.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/tabwin.c b/src/tabwin.c index a12105c..b059728 100644 --- a/src/tabwin.c +++ b/src/tabwin.c @@ -249,16 +249,16 @@ tabwinSetSelected (TabwinWidget *tabwin_widget, GtkWidget *w, GtkWidget *l) if (tabwin_widget->selected) { -gtk_widget_unset_state_flags (tabwin_widget->selected, GTK_STATE_FLAG_ACTIVE); +gtk_widget_unset_state_flags (tabwin_widget->selected, GTK_STATE_FLAG_CHECKED); } tabwin_widget->selected = w; -gtk_widget_set_state_flags (w, GTK_STATE_FLAG_ACTIVE, FALSE); +gtk_widget_set_state_flags (w, GTK_STATE_FLAG_CHECKED, FALSE); c = g_object_get_data (G_OBJECT (tabwin_widget->selected), "client-ptr-val"); if (c != NULL) { TRACE ("client \"%s\" (0x%lx)", c->name, c->window); - + /* We don't update labels here */ if (c->screen_info->params->cycle_tabwin_mode == OVERFLOW_COLUMN_GRID) { @@ -384,9 +384,13 @@ cb_window_button_enter (GtkWidget *widget, GdkEvent *event, gpointer user_data) g_return_val_if_fail (tabwin_widget != NULL, FALSE); -/* keep track of which widget we're hovered over */ +/* keep track of which widget we're hovering over */ tabwin_widget->hovered = widget; +/* make sure the hovered style is applied */ +if (tabwin_widget->hovered == tabwin_widget->selected) +gtk_widget_unset_state_flags (tabwin_widget->selected, GTK_STATE_FLAG_CHECKED); + c = g_object_get_data (G_OBJECT (widget), "client-ptr-val"); /* when hovering over a window icon, display it's label but don't @@ -430,6 +434,7 @@ cb_window_button_leave (GtkWidget *widget, GdkEvent *event, gpointer user_data) /* don't do anything if we have the focus */ if (gtk_widget_is_focus (widget)) { +gtk_widget_set_state_flags (tabwin_widget->selected, GTK_STATE_FLAG_CHECKED, FALSE); return FALSE; } -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 15/18: moveresize: Restore window state on move
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit d742ec0bed5cb5fb9d2280fe34fa0ff9251f698c Author: Olivier Fourdan Date: Sun Apr 5 17:18:14 2020 +0200 moveresize: Restore window state on move Bug: 16348 When moving a maximized window, we would not restore the actual window state. With client-side decorations, that prevents shadows from being enabled. Make sure to restore the actual client state when moving. Signed-off-by: Olivier Fourdan (cherry picked from commit f3994308b5513899222738326fba01aa2a93ac2c) (cherry picked from commit 09fc6c9d20e50b54bbde3abc6a8883b648de5aee) --- src/moveresize.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/moveresize.c b/src/moveresize.c index e70045d..3e505e3 100644 --- a/src/moveresize.c +++ b/src/moveresize.c @@ -1040,6 +1040,11 @@ clientMoveEventFilter (XfwmEvent *event, gpointer data) { passdata->move_resized = TRUE; +if (!screen_info->params->box_move) +{ +clientSetNetState (c); +} + /* to keep the distance from the edges of the window proportional. */ passdata->ox = c->x; passdata->mx = frameExtentX (c) + passdata->pxratio * frameExtentWidth (c); @@ -1259,11 +1264,7 @@ clientMove (Client * c, XfwmEventButton *event) /* Set window opacity to its original value */ clientSetOpacity (c, c->opacity, OPACITY_MOVE, 0); -/* Update state if changed */ -if (passdata.cancel_flags != c->flags) -{ -clientSetNetState (c); -} +clientSetNetState (c); wc.x = c->x; wc.y = c->y; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 17/18: Fix GTimeVal deprecation
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit ec7158498cba0305805c64fdbe6a10810b7157fb Author: Andre Miranda Date: Tue Apr 7 20:06:00 2020 +0200 Fix GTimeVal deprecation Bug: 16644 GTimeVal is deprecated, use the GDK API du jour instead. (cherry picked from commit af7db8ee2dc75c77dbd1011bdf8b970c452eca8d) --- src/display.c | 10 -- src/startup_notification.c | 9 - 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/display.c b/src/display.c index 40ee24f..d9cca8e 100644 --- a/src/display.c +++ b/src/display.c @@ -901,7 +901,7 @@ gboolean myDisplayTestXrender (DisplayInfo *display, gdouble min_time) { #ifdef HAVE_RENDER -GTimeVal t1, t2; +gint64 t1, t2; gdouble dt; Display *dpy; Picture picture1, picture2, picture3; @@ -971,7 +971,7 @@ myDisplayTestXrender (DisplayInfo *display, gdouble min_time) DefaultRootWindow(dpy), 1, 1, 8); -g_get_current_time (&t1); +t1 = g_get_monotonic_time (); pa.repeat = TRUE; picture1 = XRenderCreatePicture (dpy, @@ -1011,10 +1011,8 @@ myDisplayTestXrender (DisplayInfo *display, gdouble min_time) XDestroyWindow (dpy, output); -g_get_current_time (&t2); - -dt = (gdouble) (t2.tv_sec - t1.tv_sec) * G_USEC_PER_SEC + - (gdouble) (t2.tv_usec - t1.tv_usec) / 1000.0; +t2 = g_get_monotonic_time (); +dt = (gdouble) (t2 - t1) / 1000.0; if (dt < min_time) { diff --git a/src/startup_notification.c b/src/startup_notification.c index 4fc9e6a..ece84ee 100644 --- a/src/startup_notification.c +++ b/src/startup_notification.c @@ -52,7 +52,7 @@ static SnDisplay *sn_display = NULL; typedef struct { GSList *list; -GTimeVal now; +gint64 now; } CollectTimedOutData; @@ -139,9 +139,8 @@ sn_collect_timed_out_foreach (void *element, void *data) sn_startup_sequence_get_last_active_time (sequence, &l_sec, &l_usec); tv_sec = l_sec; tv_usec = l_sec; -elapsed = -double) ctod->now.tv_sec - tv_sec) * G_USEC_PER_SEC + -(ctod->now.tv_usec - tv_usec))) / 1000.0; +elapsed = ((double) ctod->now - (tv_sec * G_USEC_PER_SEC) - tv_usec) +/ 1000.0; if (elapsed > STARTUP_TIMEOUT) { @@ -160,7 +159,7 @@ sn_startup_sequence_timeout (void *data) g_return_val_if_fail (screen_info != NULL, FALSE); ctod.list = NULL; -g_get_current_time (&ctod.now); +ctod.now = g_get_real_time (); g_slist_foreach (screen_info->startup_sequences, sn_collect_timed_out_foreach, &ctod); tmp = ctod.list; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 12/18: settings-dialog: Fix drag and drop of buttons
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 629c8461c646eca5bad97e5cb59e298e53e76872 Author: Stefan Berzl Date: Sat Sep 16 02:00:17 2017 +0200 settings-dialog: Fix drag and drop of buttons Bug: 13861 Drag and Drop inside GtkSocket and GtkPlug doesn't work correctly. The drag_end handler isn't called when a button from "Button layout" is dragged. Fortunately, this only happens when the button is dragged onto the specified drag area. All we need to do is move the gtk_widget_show() function at the end of the drag-data-received handler. (cherry picked from commit 1e3dd9c8a5510144676ac1df4c4a21ca88a69bf5) --- settings-dialogs/xfwm4-settings.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/settings-dialogs/xfwm4-settings.c b/settings-dialogs/xfwm4-settings.c index 8d78972..939d71a 100644 --- a/settings-dialogs/xfwm4-settings.c +++ b/settings-dialogs/xfwm4-settings.c @@ -1103,6 +1103,7 @@ xfwm_settings_active_frame_drag_data (GtkWidget *widget, gtk_box_reorder_child (GTK_BOX (active_box), source, i); xfwm_settings_save_button_layout (settings, GTK_CONTAINER (active_box)); + gtk_widget_show (source); } @@ -1193,15 +1194,17 @@ xfwm_settings_hidden_frame_drag_data (GtkWidget *widget, hidden_box = GTK_WIDGET (gtk_builder_get_object (settings->priv->builder, "hidden-box")); active_box = GTK_WIDGET (gtk_builder_get_object (settings->priv->builder, "active-box")); - if (G_UNLIKELY (parent == hidden_box)) -return; + if (G_LIKELY (parent != hidden_box)) +{ + g_object_ref (source); + gtk_container_remove (GTK_CONTAINER (parent), source); + gtk_box_pack_start (GTK_BOX (hidden_box), source, FALSE, FALSE, 0); + g_object_unref (source); - g_object_ref (source); - gtk_container_remove (GTK_CONTAINER (parent), source); - gtk_box_pack_start (GTK_BOX (hidden_box), source, FALSE, FALSE, 0); - g_object_unref (source); + xfwm_settings_save_button_layout (settings, GTK_CONTAINER (active_box)); +} - xfwm_settings_save_button_layout (settings, GTK_CONTAINER (active_box)); + gtk_widget_show (source); } @@ -1236,7 +1239,6 @@ xfwm_settings_title_button_drag_data (GtkWidget *widget, name = gtk_buildable_get_name (GTK_BUILDABLE (widget)); - gtk_widget_hide (widget); gtk_selection_data_set (data, gdk_atom_intern ("_xfwm4_button_layout", FALSE), 8, (const guchar *)name, strlen (name)); } -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 14/18: frame: Fix title align
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 6523626a96545a1901b91f99e18226d014b11adb Author: Olivier Fourdan Date: Sun Apr 5 17:01:55 2020 +0200 frame: Fix title align Bug: 16067 The font height might be wrong, just get rid of it. Signed-off-by: Olivier Fourdan (cherry picked from commit 34a31e274af2636d7bcb7cba833738ef4ff1be3e) --- src/events.c | 1 - src/frame.c| 9 + src/screen.c | 51 --- src/screen.h | 2 -- src/settings.c | 2 -- 5 files changed, 1 insertion(+), 64 deletions(-) diff --git a/src/events.c b/src/events.c index 4f668dd..91c0dd6 100644 --- a/src/events.c +++ b/src/events.c @@ -2767,7 +2767,6 @@ refresh_font_cb (GObject * obj, GdkEvent * ev, gpointer data) for (list = display_info->screens; list; list = g_slist_next (list)) { ScreenInfo *screen_info = (ScreenInfo *) list->data; -myScreenUpdateFontHeight (screen_info); clientUpdateAllFrames (screen_info, UPDATE_FRAME); } diff --git a/src/frame.c b/src/frame.c index 34d1466..843b732 100644 --- a/src/frame.c +++ b/src/frame.c @@ -205,14 +205,7 @@ frameCreateTitlePixmap (Client * c, int state, int left, int right, xfwmPixmap * } pango_layout_get_pixel_extents (layout, NULL, &logical_rect); -title_height = screen_info->font_height; -if (!title_height) -{ -/* If for some reason the font height is not known, - * use the actual pango layout height. - */ -title_height = logical_rect.height; -} +title_height = logical_rect.height; title_y = voffset + (frameDecorationTop(screen_info) - title_height) / 2; if (title_y + title_height > frameDecorationTop(screen_info)) { diff --git a/src/screen.c b/src/screen.c index f4daa47..25feef1 100644 --- a/src/screen.c +++ b/src/screen.c @@ -304,7 +304,6 @@ myScreenInit (DisplayInfo *display_info, GdkScreen *gscr, unsigned long event_ma screen_info->systray = getSystrayWindow (display_info, screen_info->net_system_tray_selection); #endif -screen_info->font_height = 0; screen_info->font_desc = NULL; screen_info->pango_attr_list = NULL; screen_info->box_gc = None; @@ -865,53 +864,3 @@ myScreenGetFontDescription (ScreenInfo *screen_info) widget = myScreenGetGtkWidget (screen_info); return getUIPangoFontDesc (widget); } - -gboolean -myScreenUpdateFontHeight (ScreenInfo *screen_info) -{ -PangoFontDescription *desc; -PangoContext *context; -PangoFontMetrics *metrics; -PangoAttribute *attr; -GtkWidget *widget; -gint font_height; -gint scale; - -g_return_val_if_fail (screen_info != NULL, FALSE); - -widget = myScreenGetGtkWidget (screen_info); -desc = myScreenGetFontDescription (screen_info); -context = getUIPangoContext (widget); - -if (desc != NULL && context != NULL) -{ -metrics = pango_context_get_metrics (context, desc, NULL); -scale = gtk_widget_get_scale_factor (widget); -font_height = - PANGO_PIXELS (pango_font_metrics_get_ascent (metrics) + - pango_font_metrics_get_descent (metrics)) * scale; -pango_font_metrics_unref (metrics); - -if (font_height != screen_info->font_height) -{ -screen_info->font_height = font_height; - -if (screen_info->pango_attr_list != NULL) -{ -pango_attr_list_unref (screen_info->pango_attr_list); -screen_info->pango_attr_list = NULL; -} -if (scale != 1) -{ -screen_info->pango_attr_list = pango_attr_list_new (); -attr = pango_attr_scale_new (scale); -pango_attr_list_insert (screen_info->pango_attr_list, attr); -} -} - -return TRUE; -} - -return FALSE; -} - diff --git a/src/screen.h b/src/screen.h index 74b9279..3c49a43 100644 --- a/src/screen.h +++ b/src/screen.h @@ -115,7 +115,6 @@ struct _ScreenInfo GC box_gc; /* Title font */ -gint font_height; PangoFontDescription *font_desc; PangoAttrList *pango_attr_list; @@ -297,7 +296,6 @@ void myScreenFindMonitorAtPoint (ScreenInfo *, gint, GdkRectangle *); PangoFontDescription * myScreenGetFontDescription (ScreenInfo *); -gboolean myScreenUpdateFontHeight (ScreenInfo *); void myScreenGetXineramaMonitorGeometry (ScreenInfo *,
[Xfce4-commits] [xfce/xfwm4] 16/18: device: Check standard passive button grabs
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 1bdc36fbdda0cd53c5f50744cd6c2c3bdef00dbb Author: Olivier Fourdan Date: Tue Apr 7 19:53:58 2020 +0200 device: Check standard passive button grabs Bug: 16649 With Xi2 we need to use Xi2 routines. But some client may issue standard X11 core protocol grabs the on the client window. Grabs from the standard core protocol and Xi2 grabs do not mix well. So instead of ditching the Xi2 grabs, we issue the core protocol first, check that it succeeds and only if that works we can issue the Xi2 grabs. That keeps the Xi2 grabs logic while fixing the issue with X-AIR-Edit which uses a passive grab on the pointer using core X11 protocol. Signed-off-by: Olivier Fourdan (cherry picked from commit 0c376d254293ca52162bcddf4bcfa5908fb28e4c) (cherry picked from commit de4db5273d5449c08875b53e1d0506b8e1cc68b4) --- src/device.c | 49 - 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/src/device.c b/src/device.c index 47403b1..dc89b3f 100644 --- a/src/device.c +++ b/src/device.c @@ -27,6 +27,8 @@ #include #endif +#include "display.h" + #ifdef HAVE_XI2 static const struct { @@ -404,11 +406,22 @@ xfwm_device_grab_button (XfwmDevices *devices, Display *display, { gboolean result; Status status; +DisplayInfo *display_info; #ifdef HAVE_XI2 XIGrabModifiers xi2_modifiers; XIEventMask xievent_mask; #endif +display_info = myDisplayGetDefault (); +myDisplayErrorTrapPush (display_info); +result = XGrabButton (display, button, modifiers, grab_window, + owner_events, event_mask, grab_mode, paired_device_mode, + confine_to, cursor); +if (myDisplayErrorTrapPop (display_info) || !result) +{ +return FALSE; +} + #ifdef HAVE_XI2 if (devices->xi2_available) { @@ -422,14 +435,8 @@ xfwm_device_grab_button (XfwmDevices *devices, Display *display, g_free (xievent_mask.mask); result = (status == XIGrabSuccess); } -else #endif -{ -status = XGrabButton (display, button, modifiers, grab_window, - owner_events, event_mask, grab_mode, paired_device_mode, - confine_to, cursor); -result = (status == GrabSuccess); -} + return result; } @@ -441,6 +448,7 @@ xfwm_device_ungrab_button (XfwmDevices *devices, Display *display, XIGrabModifiers xi2_modifiers; #endif +XUngrabButton (display, button, modifiers, grab_window); #ifdef HAVE_XI2 if (devices->xi2_available) { @@ -450,11 +458,7 @@ xfwm_device_ungrab_button (XfwmDevices *devices, Display *display, XIUngrabButton (display, devices->pointer.xi2_device, button, grab_window, 1, &xi2_modifiers); } -else #endif -{ -XUngrabButton (display, button, modifiers, grab_window); -} } gboolean @@ -465,11 +469,21 @@ xfwm_device_grab_keycode (XfwmDevices *devices, Display *display, { gboolean result; Status status; +DisplayInfo *display_info; #ifdef HAVE_XI2 XIGrabModifiers xi2_modifiers; XIEventMask xievent_mask; #endif +display_info = myDisplayGetDefault (); +myDisplayErrorTrapPush (display_info); +result = XGrabKey (display, keycode, modifiers, grab_window, + owner_events, grab_mode, paired_device_mode); +if (myDisplayErrorTrapPop (display_info) || !result) +{ +return FALSE; +} + #ifdef HAVE_XI2 if (devices->xi2_available) { @@ -483,13 +497,8 @@ xfwm_device_grab_keycode (XfwmDevices *devices, Display *display, g_free (xievent_mask.mask); result = (status == XIGrabSuccess); } -else #endif -{ -status = XGrabKey (display, keycode, modifiers, grab_window, - owner_events, grab_mode, paired_device_mode); -result = (status == GrabSuccess); -} + return result; } @@ -501,6 +510,8 @@ xfwm_device_ungrab_keycode (XfwmDevices *devices, Display *display, XIGrabModifiers xi2_modifiers; #endif +XUngrabKey (display, keycode, modifiers, grab_window); + #ifdef HAVE_XI2 if (devices->xi2_available) { @@ -510,11 +521,7 @@ xfwm_device_ungrab_keycode (XfwmDevices *devices, Display *display, XIUngrabKeycode (display, devices->keyboard.xi2_device, keycode, grab_window, 1, &xi2_modifiers); } -else #endif -{ -XUngrabKey (display, keycode, modifiers, grab_window); -} } #ifdef HAVE_XI2 -- To stop receiving notification ema
[Xfce4-commits] [xfce/xfwm4] 06/18: stacking : Fix raise delay
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 4dfdcb6545d451e109501125ba2b7117d4041ed4 Author: Olivier Fourdan Date: Sat Sep 21 16:49:40 2019 +0200 stacking : Fix raise delay Bug: 15974 Raise delay would be ignored, because on focus change, the newly focused window would be raised as soon as it receives focus. Use the raise delay timeout instead of raising the window immediately so that the raise delay remains functional. Signed-off-by: Olivier Fourdan (cherry picked from commit daffbf9a321d641803bf710d409f3dcc278d675b) --- src/events.c | 5 - src/focus.c| 11 +-- src/stacking.c | 1 + 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/events.c b/src/events.c index 91d7b17..4f668dd 100644 --- a/src/events.c +++ b/src/events.c @@ -1619,11 +1619,6 @@ handleFocusIn (DisplayInfo *display_info, XFocusChangeEvent * ev) } } } - -if (screen_info->params->raise_on_focus) -{ -clientResetDelayedRaise (screen_info); -} } return EVENT_FILTER_REMOVE; diff --git a/src/focus.c b/src/focus.c index 3760cf7..af05023 100644 --- a/src/focus.c +++ b/src/focus.c @@ -527,8 +527,15 @@ clientUpdateFocus (ScreenInfo *screen_info, Client * c, unsigned short flags) if (!restacked && screen_info->params->raise_on_focus) { -clientRaise (c, None); -clientSetLastRaise (c); +if (screen_info->params->click_to_focus) +{ +clientRaise (c, None); +clientSetLastRaise (c); +} +else +{ +clientResetDelayedRaise (screen_info); +} } frameQueueDraw (c, FALSE); clientUpdateOpacity (c); diff --git a/src/stacking.c b/src/stacking.c index 9c273ca..e652bc2 100644 --- a/src/stacking.c +++ b/src/stacking.c @@ -704,6 +704,7 @@ delayed_raise_cb (gpointer data) { TRACE ("client \"%s\" (0x%lx)", c->name, c->window); clientRaise (c, None); +clientSetLastRaise (c); } return (FALSE); } -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 01/18: menu: Restore “Always below” options
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 045eff42a45cf753eac3febc5db3c2123786d371 Author: Olivier Fourdan Date: Wed Aug 28 09:03:12 2019 -0600 menu: Restore “Always below” options Bug: 15884 That was inadvertently removed by commit 8a16ca2e6 - “menu: Remove icons from window menu”. Signed-off-by: Olivier Fourdan (cherry picked from commit dbfa01731d6761018d1b7e108d2c45c35f4b7b95) --- src/menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/menu.c b/src/menu.c index f1b9f24..a2d1c08 100644 --- a/src/menu.c +++ b/src/menu.c @@ -58,6 +58,7 @@ static MenuItem menuitems[] = { {0, NULL}, /* */ {MENU_OP_ABOVE,N_("Always on _Top")}, {MENU_OP_NORMAL, N_("_Same as Other Windows")}, +{MENU_OP_BELOW,N_("Always _Below Other Windows")}, {MENU_OP_SHADE,N_("Roll Window Up")}, {MENU_OP_UNSHADE, N_("Roll Window Down")}, {MENU_OP_FULLSCREEN, N_("_Fullscreen")}, -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 13/18: compositor: Blacklist SVGA3D renderer
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit e0391a3dbac510af13c6df3438b0bfd9ee01dfa8 Author: Olivier Fourdan Date: Sun Apr 5 16:55:41 2020 +0200 compositor: Blacklist SVGA3D renderer Bug: 16274 Blacklist the GL renderer "SVGA3D" to disable GL on Virtualbox. Signed-off-by: Olivier Fourdan (cherry picked from commit 53bf7bab95f17897d5282de094888ef63696451b) --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index 8aa9991..2e58a2d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1061,6 +1061,7 @@ check_glx_renderer (ScreenInfo *screen_info) "Software Rasterizer", "Mesa X11", "llvmpipe", +"SVGA3D", NULL }; int i; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 05/18: compositor: bind/release texture on each GLX swap
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 76cfba3a610442b117b821152081b1b23eee3d8d Author: Olivier Fourdan Date: Sat Sep 21 16:06:52 2019 +0200 compositor: bind/release texture on each GLX swap The documentation for `EXT_texture_from_pixmap` states that a compositor should bind and release the texture each time: [...] glXBindTexImageEXT() glXReleaseTexImageEXT() [...] Fix the compositor to adhere to the specification. Signed-off-by: Olivier Fourdan (cherry picked from commit e5462de37a4b0a18c051e9a92ea6dce7cd7b79a8) --- src/compositor.c | 117 +++ 1 file changed, 66 insertions(+), 51 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index ab029dd..f80bea1 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1382,32 +1382,6 @@ init_glx (ScreenInfo *screen_info) return TRUE; } -static GLXDrawable -create_glx_drawable (ScreenInfo *screen_info, gushort buffer) -{ -int pixmap_attribs[] = { -GLX_TEXTURE_TARGET_EXT, GLX_TEXTURE_2D_EXT, -GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_FORMAT_RGB_EXT, -None -}; -GLXDrawable glx_drawable; - -g_return_val_if_fail (screen_info != NULL, None); -TRACE ("entering"); - -pixmap_attribs[1] = screen_info->texture_target; -pixmap_attribs[3] = screen_info->texture_format; - -glx_drawable = glXCreatePixmap (myScreenGetXDisplay (screen_info), -screen_info->glx_fbconfig, -screen_info->rootPixmap[buffer], -pixmap_attribs); -check_gl_error(); -TRACE ("created GLX pixmap 0x%lx for buffer %i", glx_drawable, buffer); - -return glx_drawable; -} - static void enable_glx_texture (ScreenInfo *screen_info) { @@ -1429,30 +1403,6 @@ disable_glx_texture (ScreenInfo *screen_info) } static void -destroy_glx_drawable (ScreenInfo *screen_info) -{ -g_return_if_fail (screen_info != NULL); -TRACE ("entering"); - -if (screen_info->glx_drawable) -{ -TRACE ("unbinding GLX drawable 0x%lx", screen_info->glx_drawable); -glXReleaseTexImageEXT (myScreenGetXDisplay (screen_info), - screen_info->glx_drawable, GLX_FRONT_EXT); -glXDestroyPixmap(myScreenGetXDisplay (screen_info), screen_info->glx_drawable); -screen_info->glx_drawable = None; -} - -if (screen_info->rootTexture) -{ -disable_glx_texture (screen_info); -glDeleteTextures (1, &screen_info->rootTexture); -screen_info->rootTexture = None; -} -check_gl_error(); -} - -static void fence_create (ScreenInfo *screen_info, gushort buffer) { #ifdef HAVE_XSYNC @@ -1532,6 +1482,32 @@ fence_destroy (ScreenInfo *screen_info, gushort buffer) #endif /* HAVE_XSYNC */ } +static GLXDrawable +create_glx_drawable (ScreenInfo *screen_info, gushort buffer) +{ +int pixmap_attribs[] = { +GLX_TEXTURE_TARGET_EXT, GLX_TEXTURE_2D_EXT, +GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_FORMAT_RGB_EXT, +None +}; +GLXDrawable glx_drawable; + +g_return_val_if_fail (screen_info != NULL, None); +TRACE ("entering"); + +pixmap_attribs[1] = screen_info->texture_target; +pixmap_attribs[3] = screen_info->texture_format; + +glx_drawable = glXCreatePixmap (myScreenGetXDisplay (screen_info), +screen_info->glx_fbconfig, +screen_info->rootPixmap[buffer], +pixmap_attribs); +check_gl_error(); +TRACE ("created GLX pixmap 0x%lx for buffer %i", glx_drawable, buffer); + +return glx_drawable; +} + static void bind_glx_texture (ScreenInfo *screen_info, gushort buffer) { @@ -1557,6 +1533,42 @@ bind_glx_texture (ScreenInfo *screen_info, gushort buffer) } static void +unbind_glx_texture (ScreenInfo *screen_info) +{ +g_return_if_fail (screen_info != NULL); +TRACE ("entering"); + +if (screen_info->glx_drawable) +{ +TRACE ("unbinding GLX drawable 0x%lx", screen_info->glx_drawable); +glXReleaseTexImageEXT (myScreenGetXDisplay (screen_info), + screen_info->glx_drawable, GLX_FRONT_EXT); +} +} + +static void +destroy_glx_drawable (ScreenInfo *screen_info) +{ +g_return_if_fail (screen_info != NULL); +TRACE ("entering"); + +if (screen_info->glx_drawable) +{ +unbind_glx_texture (screen_info); +glXDestroyPixmap(myScreenGetXDisplay (screen_info), screen_info->glx_drawable); +screen_info->glx_drawable = None; +} + +if (screen_info->root
[Xfce4-commits] [xfce/xfwm4] branch xfce-4.14 updated (c98b190 -> 0c5c22f)
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c h a n g e t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. from c98b190 I18n: Update translation pl (100%). new 045eff4 menu: Restore “Always below” options new 91133df compositor: Don't repaint a screen of zero size new 95f3bf1 common: There might be no primary monitor new e7611eb workarea: Ignore change without a primary monitor new 76cfba3 compositor: bind/release texture on each GLX swap new 4dfdcb6 stacking : Fix raise delay new 63992ab compositor: Use actual surface position and size new faa5172 client: Fix hostname not showing initially new e6212e6 themes: Fix leftover SVG overlay new d2b0e3c compositor: Don't draw shadow on maximized windows new 1c4c83a setting-dialog: Add keywords to .desktop files new 629c846 settings-dialog: Fix drag and drop of buttons new e0391a3 compositor: Blacklist SVGA3D renderer new 6523626 frame: Fix title align new d742ec0 moveresize: Restore window state on move new 1bdc36f device: Check standard passive button grabs new ec71584 Fix GTimeVal deprecation new 0c5c22f tabwin: Ensure selected windows remain selected The 18 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: common/xfwm-common.c | 13 +- common/xfwm-common.h | 2 +- settings-dialogs/xfce-wm-settings.desktop.in | 1 + settings-dialogs/xfce-wmtweaks-settings.desktop.in | 1 + .../xfce-workspaces-settings.desktop.in| 1 + settings-dialogs/xfwm4-settings.c | 18 ++- src/client.c | 6 +- src/compositor.c | 140 +++--- src/device.c | 49 +++--- src/display.c | 10 +- src/events.c | 6 - src/focus.c| 11 +- src/frame.c| 9 +- src/menu.c | 1 + src/moveresize.c | 11 +- src/screen.c | 51 --- src/screen.h | 2 - src/settings.c | 2 - src/stacking.c | 1 + src/startup_notification.c | 9 +- src/tabwin.c | 13 +- src/workspaces.c | 8 +- themes/default-hdpi/close-inactive | 164 - themes/default-xhdpi/close-inactive| 164 - themes/default/hide-inactive.png | Bin 150 -> 133 bytes themes/default/hide-inactive.svg | 31 +--- themes/default/maximize-inactive.png | Bin 190 -> 133 bytes themes/default/maximize-inactive.svg | 30 +--- themes/default/maximize-toggled-inactive.png | Bin 220 -> 133 bytes themes/default/maximize-toggled-inactive.svg | 32 +--- 30 files changed, 205 insertions(+), 581 deletions(-) delete mode 100644 themes/default-hdpi/close-inactive delete mode 100644 themes/default-xhdpi/close-inactive -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 10/18: compositor: Don't draw shadow on maximized windows
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit d2b0e3cc7514ab1ed1a84044b47d6dd4865036c6 Author: Simon Steinbeiss Date: Wed Jan 15 22:03:14 2020 +0100 compositor: Don't draw shadow on maximized windows Bug: 16381 This can lead to misleading situations, e.g. if you have >1 display and the edge of the next display is blurry/dark for no obvious reason. (cherry picked from commit a74651cb53aa0f0cebfea1bd1fd2d361fdcd789f) --- src/compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index c06427e..8aa9991 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -91,6 +91,7 @@ (cw->attr.height + 2 * cw->attr.border_width >= cw->screen_info->height)) #define WIN_IS_SHAPED(cw) ((WIN_HAS_CLIENT(cw) && FLAG_TEST (cw->c->flags, CLIENT_FLAG_HAS_SHAPE)) || \ (WIN_IS_OVERRIDE(cw) && (cw->shaped))) +#define WIN_IS_MAXIMIZED(cw)(WIN_HAS_CLIENT(cw) && FLAG_TEST_ALL (cw->c->flags, CLIENT_FLAG_MAXIMIZED)) #define WIN_IS_VIEWABLE(cw) (cw->viewable) #define WIN_HAS_DAMAGE(cw) (cw->damage) #define WIN_IS_VISIBLE(cw) (WIN_IS_VIEWABLE(cw) && WIN_HAS_DAMAGE(cw)) @@ -1768,6 +1769,7 @@ win_extents (CWindow *cw) !WIN_IS_OVERRIDE(cw) && !WIN_NO_SHADOW(cw) && !WIN_IS_DOCK(cw) && + !WIN_IS_MAXIMIZED(cw) && (WIN_HAS_FRAME(cw) || !(WIN_IS_ARGB(cw) || WIN_IS_SHAPED(cw || (screen_info->params->show_dock_shadow && WIN_IS_DOCK(cw) && -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 04/18: workarea: Ignore change without a primary monitor
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit e7611ebba4ddc790be8b128d8968a53349429d7a Author: Olivier Fourdan Date: Wed Aug 28 10:42:11 2019 -0600 workarea: Ignore change without a primary monitor If there is no primary monitor, i.e. because no monitor at all, there is no point in updating the workarea. Signed-off-by: Olivier Fourdan (cherry picked from commit d6e5d6e06c02a76882b55b3f80f654f05cdd10c6) --- src/workspaces.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/workspaces.c b/src/workspaces.c index 6981845..4b6bd2d 100644 --- a/src/workspaces.c +++ b/src/workspaces.c @@ -543,13 +543,17 @@ workspaceUpdateArea (ScreenInfo *screen_info) prev_right = screen_info->margins[STRUTS_RIGHT]; prev_bottom = screen_info->margins[STRUTS_BOTTOM]; +if (!xfwm_get_primary_monitor_geometry (screen_info->gscr, &workarea, TRUE)) +{ +TRACE ("No monitor attached"); +return; +} + for (i = 0; i < 4; i++) { screen_info->margins[i] = screen_info->gnome_margins[i]; } -xfwm_get_primary_monitor_geometry (screen_info->gscr, &workarea, TRUE); - for (c = screen_info->clients, i = 0; i < screen_info->client_count; c = c->next, i++) { if (strutsToRectangles (c, &left, &right, &top, &bottom)) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 08/18: client: Fix hostname not showing initially
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit faa51724b863ad3218b90d37194fe8844b573d77 Author: Olivier Fourdan Date: Sun Sep 22 18:43:24 2019 +0200 client: Fix hostname not showing initially Bug: 15984 When running remotely, the hostname would not show in the title initially. Signed-off-by: Olivier Fourdan (cherry picked from commit 5ea89cb90e0e82cbb133fe01b29a1c2fc16e891a) --- src/client.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index a34408f..4286d77 100644 --- a/src/client.c +++ b/src/client.c @@ -1589,6 +1589,7 @@ clientFrame (DisplayInfo *display_info, Window w, gboolean recapture) XSetWindowAttributes attributes; Client *c = NULL; gboolean shaped; +gchar *wm_name; unsigned long valuemask; long pid; int i; @@ -1660,8 +1661,11 @@ clientFrame (DisplayInfo *display_info, Window w, gboolean recapture) c->dialog_pid = 0; c->dialog_fd = -1; -getWindowName (display_info, c->window, &c->name); +getWindowName (display_info, c->window, &wm_name); getWindowHostname (display_info, c->window, &c->hostname); +c->name = clientCreateTitleName (c, wm_name, c->hostname); +g_free (wm_name); + getTransientFor (display_info, screen_info->xroot, c->window, &c->transient_for); XChangeSaveSet(display_info->dpy, c->window, SetModeInsert); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 02/18: compositor: Don't repaint a screen of zero size
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 91133dfb0d65e5c2a720ab0700e12833f1f64cc3 Author: Olivier Fourdan Date: Wed Aug 28 10:28:16 2019 -0600 compositor: Don't repaint a screen of zero size Bug: 15852 If no monitor is connected for a given screen, it's reported size will be 0. In that case, trying to repaint the screen using GLX for vsync will crash. Add a test to make sure the size of the screen is a thing, before queuing up a repaint. Signed-off-by: Olivier Fourdan (cherry picked from commit 3925109d09614f95a5ef96b35db686d889457af0) (cherry picked from commit 25eca2752133467d1cdb366c9557ebd62fb28143) --- src/compositor.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index 2561528..ab029dd 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2389,6 +2389,11 @@ repair_screen (ScreenInfo *screen_info) return FALSE; } +if (screen_info->width == 0 || screen_info->height == 0) +{ +return FALSE; +} + display_info = screen_info->display_info; damage = screen_info->allDamage; if (damage) @@ -2593,6 +2598,11 @@ damage_screen (ScreenInfo *screen_info) XserverRegion region; XRectangle r; +if (screen_info->width == 0 || screen_info->height == 0) +{ +return; +} + display_info = screen_info->display_info; r.x = 0; r.y = 0; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 07/18: compositor: Use actual surface position and size
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 63992abbe5680f2e43a7bb92df5f304e499ceaef Author: Olivier Fourdan Date: Sun Sep 22 17:59:36 2019 +0200 compositor: Use actual surface position and size Bug: 15966 When using wireframe move/resize along with transparent window decorations, the window would appear to move along with the frame. This is because the move/resize operation updates the internal data that the compositor uses for drawing the client decorations with a different opacity. To avoid the issue, just use the actual window positio nand size. Signed-off-by: Olivier Fourdan (cherry picked from commit cef64742dec393a209a729e226ab025088c9c4a3) --- src/compositor.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index f80bea1..c06427e 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1993,16 +1993,14 @@ paint_win (CWindow *cw, XserverRegion region, Picture paint_buffer, gboolean sol { int frame_x, frame_y, frame_width, frame_height; int frame_top, frame_bottom, frame_left, frame_right; - -frame_x = frameX (cw->c); -frame_y = frameY (cw->c); -frame_width = frameWidth (cw->c); -frame_height = frameHeight (cw->c); +frame_x = cw->attr.x; +frame_y = cw->attr.y; +frame_width = cw->attr.width; +frame_height = cw->attr.height; frame_top = frameTop (cw->c); frame_bottom = frameBottom (cw->c); frame_left = frameLeft (cw->c); frame_right = frameRight (cw->c); - if (!solid_part) { if (!cw->alphaBorderPict) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 03/18: common: There might be no primary monitor
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 4 in repository xfce/xfwm4. commit 95f3bf128ec4bd5a37429923a3486aa32993592d Author: Olivier Fourdan Date: Wed Aug 28 10:35:36 2019 -0600 common: There might be no primary monitor Bug: 15852 The function `xfwm_get_primary_monitor_geometry()` assumes there is always a primary monitor, which is not true if no monitor is connected, in which case the size is not meaningful. Make `xfwm_get_primary_monitor_geometry()` return a boolean value that can be used by the caller to determine if the reported size is meaningless. Signed-off-by: Olivier Fourdan (cherry picked from commit 699c0aeb782cb36181d2cd6fe39804363c23fb8c) --- common/xfwm-common.c | 13 - common/xfwm-common.h | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/common/xfwm-common.c b/common/xfwm-common.c index f187e42..fffe3db 100644 --- a/common/xfwm-common.c +++ b/common/xfwm-common.c @@ -116,7 +116,7 @@ xfwm_get_monitor_geometry (GdkScreen*screen, -void +gboolean xfwm_get_primary_monitor_geometry (GdkScreen*screen, GdkRectangle *geometry, gboolean scaled) @@ -128,6 +128,15 @@ xfwm_get_primary_monitor_geometry (GdkScreen*screen, display = gdk_screen_get_display (screen); monitor = gdk_display_get_primary_monitor (display); + + if (!monitor) + { + geometry->width = 0; + geometry->height = 0; + + return FALSE; + } + scale = gdk_monitor_get_scale_factor (monitor); gdk_monitor_get_geometry (monitor, geometry); #else @@ -140,6 +149,8 @@ xfwm_get_primary_monitor_geometry (GdkScreen*screen, if (scaled && scale != 1) xfwm_geometry_convert_to_device_pixels (geometry, scale); + + return TRUE; } diff --git a/common/xfwm-common.h b/common/xfwm-common.h index 693ad84..28ab6bf 100644 --- a/common/xfwm-common.h +++ b/common/xfwm-common.h @@ -34,7 +34,7 @@ void xfwm_get_monitor_geometry (GdkScreen*screen, GdkRectangle *geometry, gboolean scaled); -void xfwm_get_primary_monitor_geometry (GdkScreen*screen, +gboolean xfwm_get_primary_monitor_geometry (GdkScreen*screen, GdkRectangle *geometry, gboolean scaled); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Fix unwanted change
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfwm4. commit 09fc6c9d20e50b54bbde3abc6a8883b648de5aee Author: Olivier Fourdan Date: Sat Apr 11 17:54:39 2020 +0200 compositor: Fix unwanted change glEnable() is not once the texture type is chosen, no need to do that in advance. Signed-off-by: Olivier Fourdan --- src/compositor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 3c42617..2e58a2d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1136,7 +1136,6 @@ choose_glx_settings (ScreenInfo *screen_info) g_return_val_if_fail (screen_info != NULL, FALSE); TRACE ("entering"); -glEnable (GL_TEXTURE_2D); configs = glXChooseFBConfig (myScreenGetXDisplay (screen_info), screen_info->screen, visual_attribs, -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfwm4] branch master updated (526d92d -> 09fc6c9)
This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfwm4. from 526d92d I18n: Update translation nb (100%). new 09fc6c9 compositor: Fix unwanted change The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/compositor.c | 1 - 1 file changed, 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfce4-settings] 01/01: settings-manager: Make sure content determines size
This is an automated email from the git hooks/post-receive script. o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfce4-settings. commit 6197435550bf2de2737e067ded0d4751f9041716 Author: Simon Steinbeiss Date: Sat Apr 11 10:53:23 2020 +0200 settings-manager: Make sure content determines size Previously the window could be horizontally resized which would cut off window content and insert a horizontal scrollbar. This is not the case in any of our standalone settings dialogs and causes usability issues. Therefore we now disable this scrollbar policy setting. --- xfce4-settings-manager/xfce-settings-manager-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c index 889c9a6..38314d1 100644 --- a/xfce4-settings-manager/xfce-settings-manager-dialog.c +++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c @@ -301,7 +301,7 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog) /* pluggable dialog scrolled window and viewport */ dialog->socket_scroll = scroll = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_NONE); -gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); +gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_box_pack_start (GTK_BOX (dialog_vbox), scroll, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (scroll), 0); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [xfce/xfce4-settings] branch master updated (1c03f01 -> 6197435)
This is an automated email from the git hooks/post-receive script. o c h o s i p u s h e d a c h a n g e t o b r a n c h m a s t e r in repository xfce/xfce4-settings. from 1c03f01 I18n: Update translation hu (98%). new 6197435 settings-manager: Make sure content determines size The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: xfce4-settings-manager/xfce-settings-manager-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits