Changeset 9bd51b8


Ignore:
Timestamp:
Jun 3, 2010, 1:25:54 AM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
608681f
Parents:
f041595
Message:
Register dependence on the right-shift with a signal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    rf6fae8d r9bd51b8  
    13861386{
    13871387  owl_global_set_rightshift(&g, shift);
    1388   owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    13891388}
    13901389
  • mainwin.c

    rfa65671 r9bd51b8  
    1212  g_signal_connect(window, "redraw", G_CALLBACK(owl_mainwin_redraw), mw);
    1313  g_signal_connect(window, "resized", G_CALLBACK(owl_mainwin_resized), mw);
     14
     15  /* connect a ton of dependencies */
     16  owl_signal_connect_object(g.gn, "notify::rightshift", G_CALLBACK(owl_window_dirty), window, G_CONNECT_SWAPPED);
    1417}
    1518
Note: See TracChangeset for help on using the changeset viewer.