Home
last modified time | relevance | path

Searched refs:n_workspaces (Results 1 – 25 of 40) sorted by relevance

12

/dports/x11-wm/xfce4-wm/xfwm4-4.16.1/settings-dialogs/
H A Dworkspace-settings.c78 names = g_new0 (gchar *, n_workspaces + 1); in workspace_names_update_xfconf()
79 for(i = 0; i < n_workspaces; ++i) { in workspace_names_update_xfconf()
85 names[n_workspaces] = NULL; in workspace_names_update_xfconf()
88 gint n_workspaces = wnck_screen_get_workspace_count(screen); in workspace_names_update_xfconf() local
90 if(prop_len < n_workspaces) { in workspace_names_update_xfconf()
94 for(i = prop_len; i < n_workspaces; ++i) { in workspace_names_update_xfconf()
100 names[n_workspaces] = NULL; in workspace_names_update_xfconf()
159 guint i, n_workspaces; in xfconf_workspace_names_update() local
165 n_workspaces = wnck_screen_get_workspace_count(screen); in xfconf_workspace_names_update()
166 for(i = 0; i < n_workspaces && i < names->len; ++i) { in xfconf_workspace_names_update()
[all …]
/dports/x11-wm/pwm/pwm-20070720/
H A Dworkspace.c103 if(num<0 || num>=SCREEN->n_workspaces) in switch_workspace_num()
131 num%=scr->n_workspaces; in switch_workspace_vrot()
133 num+=scr->n_workspaces; in switch_workspace_vrot()
161 if(ws>=SCREEN->n_workspaces) in move_to_workspace()
201 if(scr->n_workspaces<=0){ in init_workspaces()
202 scr->n_workspaces=CF_DEFAULT_N_WORKSPACES; in init_workspaces()
210 if(n>scr->n_workspaces){ in init_workspaces()
H A Dscreen.h42 int n_workspaces; member
H A Dwinlist.c363 nents=SCREEN->n_workspaces; in wslist_menudata_init()
/dports/sysutils/xfce4-settings/xfce4-settings-4.16.2/xfsettingsd/
H A Dworkspaces.c296 guint n_workspaces; in xfce_workspaces_helper_set_names_real() local
304 n_workspaces = xfce_workspaces_helper_get_count (); in xfce_workspaces_helper_set_names_real()
305 if (n_workspaces < 1) in xfce_workspaces_helper_set_names_real()
312 if (names != NULL && names->len >= n_workspaces) in xfce_workspaces_helper_set_names_real()
315 xfconf_channel_set_int (helper->channel, WORKSPACE_COUNT_PROP, n_workspaces); in xfce_workspaces_helper_set_names_real()
320 for (i = 0; i < names->len && i < n_workspaces; i++) in xfce_workspaces_helper_set_names_real()
362 names = g_ptr_array_sized_new (n_workspaces); in xfce_workspaces_helper_set_names_real()
367 for (i = names->len; i < n_workspaces; i++) in xfce_workspaces_helper_set_names_real()
/dports/x11/mate-panel/mate-panel-1.26.1/applets/wncklet/
H A Dworkspace-switcher.c347 int n_workspaces; in applet_scroll() local
367 n_workspaces = 1; in applet_scroll()
370 n_columns = n_workspaces / pager->n_rows; in applet_scroll()
372 if (n_workspaces % pager->n_rows != 0) in applet_scroll()
375 in_last_row = n_workspaces % n_columns; in applet_scroll()
397 if (index + n_columns < n_workspaces) in applet_scroll()
405 …else if ((index < n_workspaces - 1 && index + in_last_row != n_workspaces - 1) || (index == n_work… in applet_scroll()
412 if (index < n_workspaces - 1) in applet_scroll()
433 index = n_workspaces - 1; in applet_scroll()
436 if (index >= n_workspaces) in applet_scroll()
[all …]
/dports/x11-wm/xfce4-panel/xfce4-panel-4.16.3/plugins/pager/
H A Dpager.c356 gint n_workspaces; in pager_plugin_scroll_event() local
390 n_workspaces = wnck_screen_get_workspace_count (plugin->wnck_screen) - 1; in pager_plugin_scroll_event()
396 active_n = n_workspaces; in pager_plugin_scroll_event()
397 else if (active_n > n_workspaces) in pager_plugin_scroll_event()
400 else if (active_n < 0 || active_n > n_workspaces ) in pager_plugin_scroll_event()
765 gint n_workspaces, n_cols; in pager_plugin_get_preferred_width() local
778 n_workspaces = wnck_screen_get_workspace_count (plugin->wnck_screen); in pager_plugin_get_preferred_width()
779 n_cols = MAX (1, (n_workspaces + plugin->rows - 1) / plugin->rows); in pager_plugin_get_preferred_width()
797 gint n_workspaces, n_cols; in pager_plugin_get_preferred_height() local
809 n_workspaces = wnck_screen_get_workspace_count (plugin->wnck_screen); in pager_plugin_get_preferred_height()
[all …]
H A Dpager-buttons.c298 gint n, n_workspaces; in pager_buttons_rebuild_idle() local
327 n_workspaces = g_list_length (workspaces); in pager_buttons_rebuild_idle()
330 if (G_UNLIKELY (n_workspaces == 1 in pager_buttons_rebuild_idle()
347 cols = n_workspaces / rows; in pager_buttons_rebuild_idle()
348 if (cols * rows < n_workspaces) in pager_buttons_rebuild_idle()
365 rows = CLAMP (1, pager->rows, n_workspaces); in pager_buttons_rebuild_idle()
366 cols = n_workspaces / rows; in pager_buttons_rebuild_idle()
367 if (cols * rows < n_workspaces) in pager_buttons_rebuild_idle()
/dports/x11-wm/metacity/metacity-3.42.0/src/ui/
H A Dmenu.c296 int n_workspaces, in meta_window_menu_new() argument
304 if (n_workspaces < 2) in meta_window_menu_new()
306 else if (n_workspaces == 2) in meta_window_menu_new()
362 n_workspaces, active_workspace); in meta_window_menu_new()
373 for (j = 0; j < n_workspaces; j++) in meta_window_menu_new()
H A Dmenu.h44 int n_workspaces,
/dports/x11-wm/marco/marco-1.26.0/src/ui/
H A Dmenu.c321 int n_workspaces, in meta_window_menu_new() argument
329 if (n_workspaces < 2) in meta_window_menu_new()
331 else if (n_workspaces == 2) in meta_window_menu_new()
390 n_workspaces, active_workspace); in meta_window_menu_new()
405 for (j = 0; j < n_workspaces; j++) in meta_window_menu_new()
H A Dmenu.h44 …sensitive, Window client_xwindow, unsigned long active_workspace, int n_workspaces, MetaWindowMenu…
/dports/x11-wm/muffin/muffin-4.8.0/src/ui/
H A Dmenu.c331 int n_workspaces, in meta_window_menu_new() argument
339 if (n_workspaces < 2) in meta_window_menu_new()
419 n_workspaces, active_workspace); in meta_window_menu_new()
433 for (j = 0; j < n_workspaces; j++) in meta_window_menu_new()
H A Dmenu.h51 int n_workspaces,
H A Dui.h122 int n_workspaces,
H A Dui.c516 int n_workspaces, in meta_ui_window_menu_new() argument
524 n_workspaces, in meta_ui_window_menu_new()
/dports/x11-wm/xfce4-panel/xfce4-panel-4.16.3/plugins/windowmenu/
H A Dwindowmenu.c828 gint n_workspaces; in window_menu_plugin_workspace_remove() local
834 n_workspaces = wnck_screen_get_workspace_count (plugin->screen); in window_menu_plugin_workspace_remove()
835 if (G_LIKELY (n_workspaces > 1)) in window_menu_plugin_workspace_remove()
836 wnck_screen_change_workspace_count (plugin->screen, n_workspaces - 1); in window_menu_plugin_workspace_remove()
1179 guint n_workspaces = 0; in window_menu_plugin_menu_new() local
1214 for (lp = workspaces; lp != NULL; lp = lp->next, n_workspaces++) in window_menu_plugin_menu_new()
1357 label = g_strdup_printf (_("Remove Workspace %d"), n_workspaces); in window_menu_plugin_menu_new()
1363 gtk_widget_set_sensitive (mi, !!(n_workspaces > 1)); in window_menu_plugin_menu_new()
/dports/x11-toolkits/libwnck3/libwnck-3.36.0/libwnck/
H A Dpager.c2032 int n_workspaces; in wnck_pager_scroll_event() local
2052 n_columns = n_workspaces / pager->priv->n_rows; in wnck_pager_scroll_event()
2053 if (n_workspaces % pager->priv->n_rows != 0) in wnck_pager_scroll_event()
2055 in_last_row = n_workspaces % n_columns; in wnck_pager_scroll_event()
2088 if (index + n_columns < n_workspaces) in wnck_pager_scroll_event()
2105 if (index < n_workspaces - 1) in wnck_pager_scroll_event()
2125 index = n_workspaces - 1; in wnck_pager_scroll_event()
2127 if (index >= n_workspaces) in wnck_pager_scroll_event()
2139 index = n_workspaces - 1; in wnck_pager_scroll_event()
2160 index = n_workspaces - 1; in wnck_pager_scroll_event()
[all …]
/dports/x11-wm/marco/marco-1.26.0/src/core/
H A Dprefs.c1724 meta_prefs_set_num_workspaces (int n_workspaces) in meta_prefs_set_num_workspaces() argument
1726 if (n_workspaces < 1) in meta_prefs_set_num_workspaces()
1727 n_workspaces = 1; in meta_prefs_set_num_workspaces()
1728 if (n_workspaces > MAX_REASONABLE_WORKSPACES) in meta_prefs_set_num_workspaces()
1729 n_workspaces = MAX_REASONABLE_WORKSPACES; in meta_prefs_set_num_workspaces()
1733 n_workspaces); in meta_prefs_set_num_workspaces()
/dports/x11-wm/metacity/metacity-3.42.0/src/include/
H A Dui.h126 int n_workspaces,
H A Dprefs.h124 void meta_prefs_set_num_workspaces (int n_workspaces);
/dports/x11-wm/marco/marco-1.26.0/src/include/
H A Dprefs.h129 void meta_prefs_set_num_workspaces (int n_workspaces);
H A Dui.h130 int n_workspaces,
/dports/x11-wm/mutter/mutter-41.1/src/meta/
H A Dprefs.h203 void meta_prefs_set_num_workspaces (int n_workspaces);
/dports/x11-wm/muffin/muffin-4.8.0/src/meta/
H A Dprefs.h149 void meta_prefs_set_num_workspaces (int n_workspaces);

12