~rhialto/ctwm/smallbeer

« back to all changes in this revision

Viewing changes to functions_warp.c

  • Committer: Olaf 'Rhialto' Seibert
  • Date: 2021-03-06 15:34:25 UTC
  • Revision ID: rhialto@falu.nl-20210306153425-2egepcyqfu141eo7
Remove another unneeded NULL check in the window ring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
         * TODO: on an empty screen, it still moves the mouse cursor...
213
213
         */
214
214
 
215
 
        if(r && (r != head
 
215
        if(r != head
216
216
                        || Scr->Focus == NULL
217
 
                        || !WindowIsOnRing(Scr->Focus))) {
 
217
                        || !WindowIsOnRing(Scr->Focus)) {
218
218
                TwmWindow *p = Scr->RingLeader, *t;
219
219
 
220
220
                Scr->RingLeader = r;