Ignore:
Timestamp:
Nov 25, 2009, 4:07:46 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Better python command handling
  • Added get(str) to neercs python module, doesn't work as I would like to
  • Avoid redefining everything while including neercs.h several times
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/configuration.c

    r4022 r4038  
    6767     get_window_manager},
    6868    {.name = "socket_dir",.set = set_socket_dir,.get = get_window_manager},
    69     {.name = "delay",.set = set_delay,.get = NULL},
     69    {.name = "delay",.set = set_delay,.get = get_delay},
    7070
    7171    {.name = "last",.set = NULL},
     
    322322{
    323323    int i = 0;
     324   
     325    debug("Looking for '%s'\n", name);
     326   
    324327    while (strncmp(config_option[i].name, "last", strlen("last")))
    325328    {
     329        debug("%d Testing against '%s'\n", i, config_option[i].name);
    326330        if (!strncmp(name, config_option[i].name, strlen(name)))
    327331        {
     
    476480char *get_window_manager(struct screen_list *screen_list)
    477481{
     482    debug("Window manager is %d\n", screen_list->wm_type);
    478483    switch (screen_list->wm_type)
    479484    {
     
    487492        return "hsplit";
    488493    default:
    489         return "invalid";
     494        return "invalid window manager";
    490495    }
    491496    return NULL;                /* Not reached */
Note: See TracChangeset for help on using the changeset viewer.