/dports/x11-wm/xfce4-wm/xfwm4-4.16.1/settings-dialogs/ |
H A D | workspace-settings.c | 78 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 D | workspace.c | 103 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 D | screen.h | 42 int n_workspaces; member
|
H A D | winlist.c | 363 nents=SCREEN->n_workspaces; in wslist_menudata_init()
|
/dports/sysutils/xfce4-settings/xfce4-settings-4.16.2/xfsettingsd/ |
H A D | workspaces.c | 296 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 D | workspace-switcher.c | 347 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 D | pager.c | 356 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 D | pager-buttons.c | 298 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 D | menu.c | 296 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 D | menu.h | 44 int n_workspaces,
|
/dports/x11-wm/marco/marco-1.26.0/src/ui/ |
H A D | menu.c | 321 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 D | menu.h | 44 …sensitive, Window client_xwindow, unsigned long active_workspace, int n_workspaces, MetaWindowMenu…
|
/dports/x11-wm/muffin/muffin-4.8.0/src/ui/ |
H A D | menu.c | 331 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 D | menu.h | 51 int n_workspaces,
|
H A D | ui.h | 122 int n_workspaces,
|
H A D | ui.c | 516 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 D | windowmenu.c | 828 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 D | pager.c | 2032 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 D | prefs.c | 1724 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 D | ui.h | 126 int n_workspaces,
|
H A D | prefs.h | 124 void meta_prefs_set_num_workspaces (int n_workspaces);
|
/dports/x11-wm/marco/marco-1.26.0/src/include/ |
H A D | prefs.h | 129 void meta_prefs_set_num_workspaces (int n_workspaces);
|
H A D | ui.h | 130 int n_workspaces,
|
/dports/x11-wm/mutter/mutter-41.1/src/meta/ |
H A D | prefs.h | 203 void meta_prefs_set_num_workspaces (int n_workspaces);
|
/dports/x11-wm/muffin/muffin-4.8.0/src/meta/ |
H A D | prefs.h | 149 void meta_prefs_set_num_workspaces (int n_workspaces);
|